* 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.
This commit is contained in:
Peter Schauer 1993-08-23 20:01:20 +00:00
parent 98d80d23d1
commit f5d6b0c598
2 changed files with 13 additions and 0 deletions

View File

@ -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)

View File

@ -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