Adjust all targets to new target_stop interface.
* gnu-nat.c (gnu_stop): Add ptid argument. * go32-nat.c (go32_stop): Add ptid argument. (go32_create_inferior): Pass inferior_ptid to go32_stop. * hpux-thread.c (hpux_thread_stop): Add ptid argument. * monitor.c (monitor_stop): Add ptid argument. (monitor_open): Pass inferior_ptid to monitor_stop. (monitor_interrupt): Pass inferior_ptid to target_stop. (monitor_stop): Add ptid argument. * nto-procfs.c (nto_interrupt): Pass inferior_ptid to target_stop. (procfs_create_inferior): Add ptid argument. * procfs.c (procfs_stop): Add ptid argument. * remote-m32r-sdi.c (m32r_stop): Add ptid argument. * remote-sim.c (gdbsim_stop): Add ptid argument. * sol-thread.c (sol_thread_stop): Add ptid argument. * win32-nat.c (win32_stop): Add ptid argument.
This commit is contained in:
parent
94cc34afe2
commit
f9c72d524f
12 changed files with 43 additions and 23 deletions
|
@ -105,7 +105,7 @@ static int debug_registers_used;
|
|||
#define DEBUG_MEM(x) if (debug_memory) printf_unfiltered x
|
||||
#define DEBUG_EXCEPT(x) if (debug_exceptions) printf_unfiltered x
|
||||
|
||||
static void win32_stop (void);
|
||||
static void win32_stop (ptid_t);
|
||||
static int win32_win32_thread_alive (ptid_t);
|
||||
static void win32_kill_inferior (void);
|
||||
|
||||
|
@ -1928,7 +1928,7 @@ win32_mourn_inferior (void)
|
|||
^C on the controlling terminal. */
|
||||
|
||||
static void
|
||||
win32_stop (void)
|
||||
win32_stop (ptid_t ptid)
|
||||
{
|
||||
DEBUG_EVENTS (("gdb: GenerateConsoleCtrlEvent (CTRLC_EVENT, 0)\n"));
|
||||
CHECK (GenerateConsoleCtrlEvent (CTRL_C_EVENT, current_event.dwProcessId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue