Adjust all targets to new target_stop interface.
[deliverable/binutils-gdb.git] / gdb / go32-nat.c
index 095ff667af9e8f7522a573f3bc148754e045b9f4..d4744a8b5c408d518d09e18d52ba010d66fb4d20 100644 (file)
@@ -1,5 +1,5 @@
 /* Native debugging support for Intel x86 running DJGPP.
-   Copyright (C) 1997, 1999, 2000, 2001, 2005, 2006, 2007
+   Copyright (C) 1997, 1999, 2000, 2001, 2005, 2006, 2007, 2008
    Free Software Foundation, Inc.
    Written by Robert Hoehne.
 
@@ -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;
This page took 0.024988 seconds and 4 git commands to generate.