diff options
author | Pedro Alves <palves@redhat.com> | 2008-07-09 22:49:56 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-07-09 22:49:56 +0000 |
commit | f9c72d524f7c66a7ae979f3aa4f7523e16fca2f6 (patch) | |
tree | 1fc7474b741e6307bc219d7f3577e4412ee71425 /gdb/go32-nat.c | |
parent | 94cc34afe2c3d9377f1b9cfd481b5822a03c283f (diff) | |
download | gdb-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/go32-nat.c')
-rw-r--r-- | gdb/go32-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index 5173251..d4744a8 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -181,7 +181,7 @@ static int go32_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, struct mem_attrib *attrib, struct target_ops *target); static void go32_files_info (struct target_ops *target); -static void go32_stop (void); +static void go32_stop (ptid_t); static void go32_kill_inferior (void); static void go32_create_inferior (char *exec_file, char *args, char **env, int from_tty); static void go32_mourn_inferior (void); @@ -560,7 +560,7 @@ go32_files_info (struct target_ops *target) } static void -go32_stop (void) +go32_stop (ptid_t ptid) { normal_stop (); cleanup_client (); @@ -593,7 +593,7 @@ go32_create_inferior (char *exec_file, char *args, char **env, int from_tty) if (prog_has_started) { - go32_stop (); + go32_stop (inferior_ptid); go32_kill_inferior (); } resume_signal = -1; |