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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/symmisc.c | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ae2c24..33e4c78 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 23 12:57:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * 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. + Mon Aug 23 1993 Sean Fagan (sef@cygnus.com) and Jim Kingdon (kingdon@cygnus.com) 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 |