From f5d6b0c598c13dc46d380a7dce7c0762d9fd20b8 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Mon, 23 Aug 1993 20:01:20 +0000 Subject: * 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. --- gdb/ChangeLog | 6 ++++++ gdb/symmisc.c | 7 +++++++ 2 files changed, 13 insertions(+) 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 -- cgit v1.1