diff options
author | gdb-3.4 <gdb@fsf.org> | 1989-11-05 21:02:37 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-03 15:36:32 +0100 |
commit | 1c997a4ae86938343edb715efc3fc742c5f668fe (patch) | |
tree | 9e3c70728a3987732436b7fa4b4cfef433a0669a /gdb/coffread.c | |
parent | 4187119d59afd156703cfcbc6be287c5085f1867 (diff) | |
download | gdb-1c997a4ae86938343edb715efc3fc742c5f668fe.zip gdb-1c997a4ae86938343edb715efc3fc742c5f668fe.tar.gz gdb-1c997a4ae86938343edb715efc3fc742c5f668fe.tar.bz2 |
gdb-3.4
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 46a47a1..f6a9c8a 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -747,9 +747,7 @@ symbol_file_command (name) if (num_symbols == 0) { free_all_symtabs (); - printf ("%s does not have a symbol-table.\n", name); - fflush (stdout); - return; + error ("%s does not have a symbol-table.\n", name); } printf ("Reading symbol data from %s...", name); @@ -814,7 +812,7 @@ symbol_file_command (name) /* Make a default for file to list. */ - select_source_symtab (symtab_list); + select_source_symtab (0); symfile = savestring (name, strlen (name)); |