From 1893a4c08f9eea7021fb85b8514844d52c49a7a9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis <kettenis@gnu.org> Date: Mon, 1 May 2006 16:38:08 +0000 Subject: * breakpoint.c (insert_single_step_breakpoint): Make a failure to insert a single-step breakpoint an error instead of a warning. * breakpoint.c (remove_single_step_breakpoints): Bail out early if no breakpoints are inserted. --- gdb/breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/breakpoint.c') diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 130b684..fd231de 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7717,7 +7717,7 @@ insert_single_step_breakpoint (CORE_ADDR next_pc) *bpt_p = deprecated_insert_raw_breakpoint (next_pc); if (*bpt_p == NULL) - warning (_("Could not insert single-step breakpoint at 0x%s"), + error (_("Could not insert single-step breakpoint at 0x%s"), paddr_nz (next_pc)); } -- cgit v1.1