From: Peter Schauer Date: Mon, 23 Aug 1993 20:01:20 +0000 (+0000) Subject: * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of symbol X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ae2c24ced8..33e4c7841d5 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 bb933b6d56a..e3336bb6fe7 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