From 6c739336e5aadd6670909059fba889f50caa9cea Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 20 Apr 2016 10:17:12 -0700 Subject: symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors. * symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors. --- gdb/symmisc.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/symmisc.c') 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); } } -- cgit v1.1