From: Doug Evans Date: Wed, 20 Apr 2016 17:17:12 +0000 (-0700) Subject: symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c739336e5aadd6670909059fba889f50caa9cea;p=binutils-gdb.git symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors. * symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2660dd5fff..f89f745ebf1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-04-20 Doug Evans + + * symmisc.c (dump_symtab_1): Print owning compunit for identical + blockvectors. + 2016-04-20 Yao Qi * aarch32-linux-nat.c: Include "arch/arm-linux.h". diff --git a/gdb/symmisc.c b/gdb/symmisc.c index a0652ffb4c3..d5efcfd2409 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); } }