* utils.c (error_begin): Make static.

* defs.h (error_begin): Delete declaration.

* linespec.c (cplusplus_error): Replace cplusplus_hint.
(decode_line_1): Use cplusplus_error instead of error_begin,
cplusplus_hint and return_to_top_level.
* coffread.c (coff_symfile_read): Use error instead of error_begin
and return_to_top_level.
* infrun.c (default_skip_permanent_breakpoint): Ditto.
This commit is contained in:
Andrew Cagney
2002-02-02 03:42:59 +00:00
parent 261c4ca206
commit 255e7dbf2e
6 changed files with 50 additions and 40 deletions

View File

@@ -232,12 +232,10 @@ static int may_follow_exec = MAY_FOLLOW_EXEC;
static void
default_skip_permanent_breakpoint (void)
{
error_begin ();
fprintf_filtered (gdb_stderr, "\
error ("\
The program is stopped at a permanent breakpoint, but GDB does not know\n\
how to step past a permanent breakpoint on this architecture. Try using\n\
a command like `return' or `jump' to continue execution.\n");
return_to_top_level (RETURN_ERROR);
a command like `return' or `jump' to continue execution.");
}
#endif