aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2016-04-20 10:17:12 -0700
committerDoug Evans <xdje42@gmail.com>2016-04-20 10:17:12 -0700
commit6c739336e5aadd6670909059fba889f50caa9cea (patch)
tree9d765fa79944544b7b3938f8c63b01ced743df31 /gdb/symmisc.c
parent8cef59a2e32816d5fbbe1cfebfca3e3d6abd4d33 (diff)
downloadgdb-6c739336e5aadd6670909059fba889f50caa9cea.zip
gdb-6c739336e5aadd6670909059fba889f50caa9cea.tar.gz
gdb-6c739336e5aadd6670909059fba889f50caa9cea.tar.bz2
symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors.
* symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c7
1 files changed, 6 insertions, 1 deletions
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);
}
}