2002-05-14 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Wed, 15 May 2002 03:36:13 +0000 (03:36 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 15 May 2002 03:36:13 +0000 (03:36 +0000)
        * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo
        stop_at -> stop_pc.

gdb/ChangeLog
gdb/gdbserver/mem-break.c

index 05f35b61ac8d76adaa4b115ebb23ad7c064dec25..f9847ed6bb4906105e068618bdb15c255adb3392 100644 (file)
@@ -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
index 91addf6a6cab52a35e74a74aa749161bac76f8c9..6edc88327e9716fddd7259d8df6a131346100095 100644 (file)
@@ -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.");