aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbserver/mem-break.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 05f35b6..f9847ed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-14 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo
+ stop_at -> stop_pc.
+
2002-05-14 Andrew Cagney <ac131313@redhat.com>
* regcache.c (register_valid): Revise comments refering to "Not
diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c
index 91addf6..6edc883 100644
--- a/gdb/gdbserver/mem-break.c
+++ b/gdb/gdbserver/mem-break.c
@@ -140,7 +140,7 @@ reinsert_breakpoint_by_bp (CORE_ADDR stop_pc, CORE_ADDR stop_at)
set_breakpoint_at (stop_at, reinsert_breakpoint_handler);
- orig_bp = find_breakpoint_at (stop_at);
+ orig_bp = find_breakpoint_at (stop_pc);
if (orig_bp == NULL)
error ("Could not find original breakpoint in list.");