+2000-11-19 Jim Blandy <jimb@redhat.com>
+
+ * symtab.c (no_symtab_msg): Remove definition.
+ (sources_info): Replace use of no_symtab_msg with the string
+ itself.
+ * linespec.c (no_symtab_msg): Remove declaration.
+ (decode_line_1): Replace uses of no_symtab_msg with the string
+ itself.
+
2000-11-17 Kevin Buettner <kevinb@redhat.com>
* rs6000-tdep.c (refine_prologue_limit): New function.
extern char *operator_chars (char *, char **);
-extern char *no_symtab_msg;
-
/* Prototypes for local functions */
static void cplusplus_hint (char *name);
if (s == 0)
{
if (!have_full_symbols () && !have_partial_symbols ())
- error (no_symtab_msg);
+ error ("No symbol table is loaded. Use the \"file\" command.");
error ("No source file named %s.", copy);
}
if (!have_full_symbols () &&
!have_partial_symbols () && !have_minimal_symbols ())
- error (no_symtab_msg);
+ error ("No symbol table is loaded. Use the \"file\" command.");
error ("Function \"%s\" not defined.", copy);
return values; /* for lint */
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 */
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");