mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
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:
@ -607,7 +607,7 @@ nto_interrupt (int signo)
|
||||
/* If this doesn't work, try more severe steps. */
|
||||
signal (signo, nto_interrupt_twice);
|
||||
|
||||
target_stop ();
|
||||
target_stop (inferior_ptid);
|
||||
}
|
||||
|
||||
static ptid_t
|
||||
@ -1094,7 +1094,7 @@ procfs_create_inferior (char *exec_file, char *allargs, char **env,
|
||||
}
|
||||
|
||||
static void
|
||||
procfs_stop (void)
|
||||
procfs_stop (ptid_t ptid)
|
||||
{
|
||||
devctl (ctl_fd, DCMD_PROC_STOP, NULL, 0, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user