summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-05-15 03:36:13 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-05-15 03:36:13 +0000
commit663e6a19ccf722593068535222e2ffb221563349 (patch)
treed1141368e7646067748257b165fb7dfb8ca891a1 /gdb/gdbserver
parentc1bfb9bdc1d9b5aac9956b8bae3bf9120b88ed24 (diff)
downloadgdb-663e6a19ccf722593068535222e2ffb221563349.tar.gz
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')
-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 91addf6a6ca..6edc88327e9 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.");