/* Check for an input interrupt while we're here. */
if (cc == '\003' && current_thread != NULL)
- (*the_target->request_interrupt) ();
+ the_target->pt->request_interrupt ();
}
while (cc != '+');
return;
}
- (*the_target->request_interrupt) ();
+ the_target->pt->request_interrupt ();
}
}
check for an input interrupt. */
if (c == '\003')
{
- (*the_target->request_interrupt) ();
+ the_target->pt->request_interrupt ();
continue;
}
{
/* Consume the interrupt character in the buffer. */
readchar ();
- (*the_target->request_interrupt) ();
+ the_target->pt->request_interrupt ();
}
return bp - buf;
regcache = get_thread_regcache (current_thread, 1);
- if (the_target->stopped_by_watchpoint != NULL
- && (*the_target->stopped_by_watchpoint) ())
+ if (the_target->pt->stopped_by_watchpoint ())
{
CORE_ADDR addr;
int i;
memcpy (buf, "watch:", 6);
buf += 6;
- addr = (*the_target->stopped_data_address) ();
+ addr = the_target->pt->stopped_data_address ();
/* Convert each byte of the address into two hexadecimal
chars. Note that we take sizeof (void *) instead of