mips-tdump.c (print_file_desc): Handle unknown filenames and missing local symbols.

* mips-tdump.c (print_file_desc): Handle unknown filenames and
        missing local symbols.

From-SVN: r24729
This commit is contained in:
Rainer Orth 1999-01-17 23:41:47 +00:00 committed by Jeff Law
parent a5ea6f5710
commit c4687d7048
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 18 00:36:13 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* mips-tdump.c (print_file_desc): Handle unknown filenames and
missing local symbols.
Sun Jan 17 21:04:31 1999 Richard Henderson <rth@cygnus.com>
* jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.

View File

@ -1158,8 +1158,10 @@ print_file_desc (fdp, number)
aux_base = aux_symbols + fdp->iauxBase;
used_base = aux_used + (aux_base - aux_symbols);
printf ("\nFile #%d, \"%s\"\n\n", number, str_base + fdp->rss);
printf ("\nFile #%d, \"%s\"\n\n",
number,
fdp->rss != issNil ? str_base + fdp->rss : "<unknown>");
printf (" Name index = %-10ld Readin = %s\n",
(long) fdp->rss, (fdp->fReadin) ? "Yes" : "No");
@ -1293,9 +1295,10 @@ print_file_desc (fdp, number)
PDR *proc_ptr = &proc_desc[pdi];
printf ("\n\tProcedure descriptor %d:\n", (pdi - fdp->ipdFirst));
printf ("\t Name index = %-11ld Name = \"%s\"\n",
(long) l_symbols[proc_ptr->isym + fdp->isymBase].iss,
l_symbols[proc_ptr->isym + fdp->isymBase].iss + str_base);
if (l_symbols != 0)
printf ("\t Name index = %-11ld Name = \"%s\"\n",
(long) l_symbols[proc_ptr->isym + fdp->isymBase].iss,
l_symbols[proc_ptr->isym + fdp->isymBase].iss + str_base);
printf ("\t .mask 0x%08lx,%-9ld .fmask 0x%08lx,%ld\n",
(long) proc_ptr->regmask,