forked from Imagelibrary/binutils-gdb
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:
@@ -96,7 +96,7 @@ static void gdbsim_files_info (struct target_ops *target);
|
||||
|
||||
static void gdbsim_mourn_inferior (void);
|
||||
|
||||
static void gdbsim_stop (void);
|
||||
static void gdbsim_stop (ptid_t ptid);
|
||||
|
||||
void simulator_command (char *args, int from_tty);
|
||||
|
||||
@@ -643,7 +643,7 @@ gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal)
|
||||
For simulators that do not support this operation, just abort */
|
||||
|
||||
static void
|
||||
gdbsim_stop (void)
|
||||
gdbsim_stop (ptid_t ptid)
|
||||
{
|
||||
if (!sim_stop (gdbsim_desc))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user