aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-02 03:42:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-02 03:42:59 +0000
commit255e7dbf2e106ccba748f1d34422d9df7fcc1038 (patch)
tree8049bf598088831675b090b7bbb04419768c308e /gdb/infrun.c
parent261c4ca20698ffa0b5efa6a0908c55aae31711e8 (diff)
downloadgdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.zip
gdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.tar.gz
gdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.tar.bz2
* 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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8a5b302..1b0eb7e 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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