aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 09a8d79..be021dd 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -116,8 +116,6 @@ struct type *builtin_type_error;
const struct block *block_found;
-char no_symtab_msg[] = "No symbol table is loaded. Use the \"file\" command.";
-
/* While the C++ support is still in flux, issue a possibly helpful hint on
using the new command completion feature on single quoted demangled C++
symbols. Remove when loose ends are cleaned up. FIXME -fnf */
@@ -2226,7 +2224,7 @@ sources_info (char *ignore, int from_tty)
if (!have_full_symbols () && !have_partial_symbols ())
{
- error (no_symtab_msg);
+ error ("No symbol table is loaded. Use the \"file\" command.");
}
printf_filtered ("Source files for which symbols have been read in:\n\n");