2000-12-06 Fernando Nasser <fnasser@redhat.com>
[deliverable/binutils-gdb.git] / gdb / symtab.c
index 09a8d79ec41d0f3b3cd73592bfae363505dd8963..9f6fb56cf2060895dd21ea71fc2aa6588da801c0 100644 (file)
@@ -35,6 +35,7 @@
 #include "language.h"
 #include "demangle.h"
 #include "inferior.h"
+#include "linespec.h"
 
 #include "obstack.h"
 
@@ -116,8 +117,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 +2225,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");
This page took 0.024156 seconds and 4 git commands to generate.