Change simple call to printf of error message to a call to error(). Output
was not getting flushed and was not being newline terminated.
This commit is contained in:
parent
4b195f9a30
commit
3053b9f218
2 changed files with 6 additions and 2 deletions
|
@ -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)
|
Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com)
|
||||||
|
|
||||||
* doc/gdb.texinfo: remove leading comments that survived M4 but
|
* doc/gdb.texinfo: remove leading comments that survived M4 but
|
||||||
|
|
|
@ -2372,8 +2372,7 @@ sources_info ()
|
||||||
|
|
||||||
if (symtab_list == 0 && partial_symtab_list == 0)
|
if (symtab_list == 0 && partial_symtab_list == 0)
|
||||||
{
|
{
|
||||||
printf (no_symtab_msg);
|
error (no_symtab_msg);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
printf_filtered ("Source files for which symbols have been read in:\n\n");
|
printf_filtered ("Source files for which symbols have been read in:\n\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue