From decf4e0f2ebfbb485a4ca46921a8ce50fb650e59 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Sat, 26 May 2007 14:51:32 -0300 Subject: [PATCH] [PAHOLE]: puts(";") after -O output The special casing for structs with stats is really annoying, will fix. Signed-off-by: Arnaldo Carvalho de Melo --- pahole.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pahole.c b/pahole.c index 17b1daa..7d02d01 100644 --- a/pahole.c +++ b/pahole.c @@ -682,6 +682,8 @@ int main(int argc, char *argv[]) } tag__fprintf(tag, cu, &conf, stdout); + if (tag->tag != DW_TAG_structure_type) + puts(";"); return EXIT_SUCCESS; }