diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1993-08-23 20:01:20 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1993-08-23 20:01:20 +0000 |
commit | f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8 (patch) | |
tree | ffc2238227044ad72a8e1ebf1ca44fad63873383 /gdb/symmisc.c | |
parent | 98d80d23d1221d632b9015e332cbf2501ef364ad (diff) | |
download | gdb-f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8.zip gdb-f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8.tar.gz gdb-f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8.tar.bz2 |
* mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of symbol
as an argument and use it in complaints.
* symmisc.c (dump_psymtab): Dump filenames of dependencies.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 7 |
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 |