diff options
author | John Gilmore <gnu@cygnus> | 1991-11-01 19:12:35 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-01 19:12:35 +0000 |
commit | c9bd6710ad40944544a652f960bcb01845377486 (patch) | |
tree | 2c2666aeb08023ecd0c91dddb968a886e88ea3bb /gdb/mipsread.c | |
parent | 6d7c88c3d02bec4ffa629ef22be6d9027bfee005 (diff) | |
download | gdb-c9bd6710ad40944544a652f960bcb01845377486.zip gdb-c9bd6710ad40944544a652f960bcb01845377486.tar.gz gdb-c9bd6710ad40944544a652f960bcb01845377486.tar.bz2 |
* mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real
filename with error messages.
* stack.c (frame_select_command): Rename to select_frame_command
to avoid "fr" and "fra" having nonunique completions.
* symfile.c (sort_symtab_syms): Ignore sort of zero symtab *.
(symfile_init): Print file format name when unable to handle it.
(free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST.
* symmisc.c (free_symtab): Only free linetable if nonzero.
* symtab.h: Remove obsolete BLOCKLIST macros.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r-- | gdb/mipsread.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 964f791..2f027c7 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -381,7 +381,7 @@ read_the_mips_symtab(abfd, fsym, end_of_text_segp) return; readerr: - error("Short read on %s", symfile); + error("Short read on %s", bfd_get_filename (abfd)); } @@ -563,8 +563,11 @@ read_mips_symtab (abfd, desc) */ if (compare_glevel(max_glevel, GLEVEL_2) < 0) { if (max_gdbinfo == 0) - printf("\n%s not compiled with -g, debugging support is limited.", symfile); - printf("\nYou should compile with -g2 or -g3 for best debugging support.\n"); + printf ( +"\n%s not compiled with -g, debugging support is limited.\n", + bfd_get_filename (abfd)); + printf( +"You should compile with -g2 or -g3 for best debugging support.\n"); fflush(stdout); } } |