aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-05-01 16:38:08 +0000
committerMark Kettenis <kettenis@gnu.org>2006-05-01 16:38:08 +0000
commit1893a4c08f9eea7021fb85b8514844d52c49a7a9 (patch)
treee71330158d739d0abfb29b2e208cafb64887457a /gdb
parent21f79b33e5b4d28e4eeb4d4f840a72ac87e8ac8a (diff)
downloadfsf-binutils-gdb-1893a4c08f9eea7021fb85b8514844d52c49a7a9.zip
fsf-binutils-gdb-1893a4c08f9eea7021fb85b8514844d52c49a7a9.tar.gz
fsf-binutils-gdb-1893a4c08f9eea7021fb85b8514844d52c49a7a9.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/breakpoint.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5e2ba22..b2dd5f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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 *'
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));
}