* breakpoint.c (insert_single_step_breakpoint): Make a failure to
authorMark Kettenis <kettenis@gnu.org>
Mon, 1 May 2006 16:38:08 +0000 (16:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 1 May 2006 16:38:08 +0000 (16:38 +0000)
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/ChangeLog
gdb/breakpoint.c

index 5e2ba22aa854ab560f0f4c13ac56671c7636b67c..b2dd5f42cef131684645a418059daaaaa5079555 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * breakpoint.c (insert_single_step_breakpoint): Make a failure to
+       insert a single-step breakpoint an error instead of a warning.
+
 2006-05-01  Nathan J. Williams  <nathanw@wasabisystems.com>
 
        * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
@@ -13,6 +18,9 @@
 
 2006-04-25  Mark Kettenis  <kettenis@gnu.org>
 
+       * breakpoint.c (remove_single_step_breakpoints): Bail out early if
+       no breakpoints are inserted.
+
        From Masaki MURANAKA <monaka@monami-software.com>:
        * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
        type of last argument to `gdb_byte *'
index 130b6845af2eb7ad41e2d52f1b3d522b3b97f75d..fd231dee498e3bb022cec819ca2707eee94a6459 100644 (file)
@@ -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));
 }
 
This page took 0.02952 seconds and 4 git commands to generate.