aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c3
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");