Beispiel #1
0
static void
amd64_linux_dr_set_addr (int regnum, CORE_ADDR addr)
{
  gdb_assert (regnum >= 0 && regnum <= DR_LASTADDR - DR_FIRSTADDR);

  linux_nat_iterate_watchpoint_lwps (update_debug_registers_callback, NULL);
}
static void
i386_linux_dr_set_addr (int regnum, CORE_ADDR addr)
{
  ptid_t pid_ptid = pid_to_ptid (ptid_get_pid (inferior_ptid));

  gdb_assert (regnum >= 0 && regnum <= DR_LASTADDR - DR_FIRSTADDR);

  linux_nat_iterate_watchpoint_lwps (update_debug_registers_callback, NULL);
}
static void
i386_linux_dr_set_control (unsigned long control)
{
  linux_nat_iterate_watchpoint_lwps (update_debug_registers_callback, NULL);
}