gdb/gdbserver/
[deliverable/binutils-gdb.git] / gdb / inflow.c
index 5c9f7ac88cd94395aae30243c725488f7d764b6b..8de68e14cbdc59ff765b474ec050cd00203a1454 100644 (file)
@@ -500,9 +500,8 @@ get_inflow_inferior_data (struct inferior *inf)
    list.  */
 
 static void
-inflow_inferior_exit (int pid)
+inflow_inferior_exit (struct inferior *inf)
 {
-  struct inferior *inf = find_inferior_pid (pid);
   struct terminal_info *info;
 
   info = inferior_data (inf, inflow_inferior_data);
@@ -633,7 +632,7 @@ new_tty_prefork (const char *ttyname)
   inferior_thisrun_terminal = ttyname;
 }
 
-
+#if !defined(__GO32__) && !defined(_WIN32)
 /* If RESULT, assumed to be the return value from a system call, is
    negative, print the error message indicated by errno and exit.
    MSG should identify the operation that failed.  */
@@ -646,6 +645,7 @@ check_syscall (const char *msg, int result)
       _exit (1);
     }
 }
+#endif
 
 void
 new_tty (void)
This page took 0.032212 seconds and 4 git commands to generate.