From fd3a5ca16146527fbb53f6e47d17592cba05f1dd Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 15 May 2002 03:36:13 +0000 Subject: [PATCH] 2002-05-14 Daniel Jacobowitz * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo stop_at -> stop_pc. --- gdb/ChangeLog | 5 +++++ gdb/gdbserver/mem-break.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 05f35b61ac8..f9847ed6bb4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-05-14 Daniel Jacobowitz + + * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo + stop_at -> stop_pc. + 2002-05-14 Andrew Cagney * regcache.c (register_valid): Revise comments refering to "Not 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."); -- 2.30.2