aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-07-09 22:49:56 +0000
committerPedro Alves <palves@redhat.com>2008-07-09 22:49:56 +0000
commitf9c72d524f7c66a7ae979f3aa4f7523e16fca2f6 (patch)
tree1fc7474b741e6307bc219d7f3577e4412ee71425 /gdb/procfs.c
parent94cc34afe2c3d9377f1b9cfd481b5822a03c283f (diff)
downloadgdb-f9c72d524f7c66a7ae979f3aa4f7523e16fca2f6.zip
gdb-f9c72d524f7c66a7ae979f3aa4f7523e16fca2f6.tar.gz
gdb-f9c72d524f7c66a7ae979f3aa4f7523e16fca2f6.tar.bz2
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.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index da9fd4c..3551dd9 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -116,7 +116,7 @@ static void procfs_attach (char *, int);
static void procfs_detach (char *, int);
static void procfs_resume (ptid_t, int, enum target_signal);
static int procfs_can_run (void);
-static void procfs_stop (void);
+static void procfs_stop (ptid_t);
static void procfs_files_info (struct target_ops *);
static void procfs_fetch_registers (struct regcache *, int);
static void procfs_store_registers (struct regcache *, int);
@@ -4756,7 +4756,7 @@ procfs_can_run (void)
*/
static void
-procfs_stop (void)
+procfs_stop (ptid_t ptid)
{
kill (-inferior_process_group, SIGINT);
}