diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symtab.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 23cdf5e..14e4873 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 29 16:59:25 1991 Fred Fish (fnf at cygnus.com) + + * symtab.c (sources_info): Change simple printf of error message + to call to error(). + Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com) * doc/gdb.texinfo: remove leading comments that survived M4 but diff --git a/gdb/symtab.c b/gdb/symtab.c index 3c5eea3..0e1ead6 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2372,8 +2372,7 @@ sources_info () if (symtab_list == 0 && partial_symtab_list == 0) { - printf (no_symtab_msg); - return; + error (no_symtab_msg); } printf_filtered ("Source files for which symbols have been read in:\n\n"); |