aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index bb933b6..e3336bb 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -264,6 +264,7 @@ dump_psymtab (objfile, psymtab, outfile)
struct partial_symtab *psymtab;
FILE *outfile;
{
+ int i;
fprintf_filtered (outfile, "\nPartial symtab for source file %s ",
psymtab -> filename);
@@ -291,6 +292,12 @@ dump_psymtab (objfile, psymtab, outfile)
psymtab -> textlow, psymtab -> texthigh);
fprintf_filtered (outfile, " Depends on %d other partial symtabs.\n",
psymtab -> number_of_dependencies);
+ for (i = 0; i < psymtab -> number_of_dependencies; i++)
+ {
+ fprintf_filtered (outfile, " %d 0x%lx %s\n", i,
+ (unsigned long) psymtab -> dependencies[i],
+ psymtab -> dependencies[i] -> filename);
+ }
if (psymtab -> n_global_syms > 0)
{
print_partial_symbol (objfile -> global_psymbols.list