Constify add_com_suppress_notification
[deliverable/binutils-gdb.git] / gdb / darwin-nat.c
index dc47c7356abfa762b5c64660744d3a711835ea6a..e57bcf9e814f108b81e2230443c31f3cefdb1455 100644 (file)
@@ -25,7 +25,6 @@
 #include "symfile.h"
 #include "symtab.h"
 #include "objfiles.h"
-#include "gdb.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
 #include "gdbthread.h"
@@ -1195,7 +1194,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 (get_regcache_aspace (regcache), pc))
+  if (breakpoint_inserted_here_p (regcache->aspace (), pc))
     {
       inferior_debug (4, "cancel_breakpoint for thread 0x%lx\n",
                      (unsigned long) ptid_get_tid (ptid));
This page took 0.023516 seconds and 4 git commands to generate.