[COMMIT] symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors.
Doug Evans
xdje42@gmail.com
Wed Apr 20 17:19:00 GMT 2016
Hi.
fyi, I committed this.
2016-04-20 Doug Evans <xdje42@gmail.com>
* symmisc.c (dump_symtab_1): Print owning compunit for identical
blockvectors.
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index a0652ff..d5efcfd 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -377,7 +377,12 @@ dump_symtab_1 (struct symtab *symtab, struct ui_file *outfile)
}
else
{
- fprintf_filtered (outfile, "\nBlockvector same as previous symtab\n\n");
+ const char *compunit_filename
+ = symtab_to_filename_for_display (COMPUNIT_FILETABS (SYMTAB_COMPUNIT (symtab)));
+
+ fprintf_filtered (outfile,
+ "\nBlockvector same as owning compunit: %s\n\n",
+ compunit_filename);
}
}
More information about the Gdb-patches
mailing list