aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/mem-break.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-05-15 03:36:13 +0000
committerDaniel Jacobowitz <drow@false.org>2002-05-15 03:36:13 +0000
commitfd3a5ca16146527fbb53f6e47d17592cba05f1dd (patch)
tree4a1230bb1743f41d0b885dfbaa5e3d864558e7d3 /gdb/gdbserver/mem-break.c
parentc97dcfc7b8acc93a4be859f191ed37ac0c64efda (diff)
downloadgdb-fd3a5ca16146527fbb53f6e47d17592cba05f1dd.zip
gdb-fd3a5ca16146527fbb53f6e47d17592cba05f1dd.tar.gz
gdb-fd3a5ca16146527fbb53f6e47d17592cba05f1dd.tar.bz2
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo stop_at -> stop_pc.
Diffstat (limited to 'gdb/gdbserver/mem-break.c')
-rw-r--r--gdb/gdbserver/mem-break.c2
1 files changed, 1 insertions, 1 deletions
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.");