From f9c72d524f7c66a7ae979f3aa4f7523e16fca2f6 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 9 Jul 2008 22:49:56 +0000 Subject: 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. --- gdb/nto-procfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/nto-procfs.c') diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 0cbff727cc6..e37e1581330 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -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); } -- cgit v1.2.1