mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
* darwin-nat.c (cancel_breakpoint): Pass the regcache's address
space to breakpoint_inserted_here_p.
This commit is contained in:
parent
c069425482
commit
40625c9de3
@ -1,3 +1,8 @@
|
||||
2009-10-20 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* darwin-nat.c (cancel_breakpoint): Pass the regcache's address
|
||||
space to breakpoint_inserted_here_p.
|
||||
|
||||
2009-10-20 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* linux-nat.c (linux_nat_thread_address_space): New.
|
||||
|
@ -995,7 +995,7 @@ cancel_breakpoint (ptid_t ptid)
|
||||
CORE_ADDR pc;
|
||||
|
||||
pc = regcache_read_pc (regcache) - gdbarch_decr_pc_after_break (gdbarch);
|
||||
if (breakpoint_inserted_here_p (pc))
|
||||
if (breakpoint_inserted_here_p (get_regcache_aspace (regcache), pc))
|
||||
{
|
||||
inferior_debug (4, "cancel_breakpoint for thread %x\n",
|
||||
ptid_get_tid (ptid));
|
||||
|
Loading…
Reference in New Issue
Block a user