diff options
author | Fred Fish <fnf@specifix.com> | 1991-11-30 01:02:03 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1991-11-30 01:02:03 +0000 |
commit | 3053b9f218b522e7b472680b99df27f454ef01cd (patch) | |
tree | 4a0425a6a3fbfd547d067a9476857cab7c78b155 /gdb/symtab.c | |
parent | 4b195f9a3077d18a77a9d3d70e59b98fb54ed7ac (diff) | |
download | gdb-3053b9f218b522e7b472680b99df27f454ef01cd.zip gdb-3053b9f218b522e7b472680b99df27f454ef01cd.tar.gz gdb-3053b9f218b522e7b472680b99df27f454ef01cd.tar.bz2 |
Change simple call to printf of error message to a call to error(). Output
was not getting flushed and was not being newline terminated.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |