Reviewed and approved by Alan Modra <amodra@bigpond.net.au>
[deliverable/binutils-gdb.git] / gdb / procfs.c
index f73f72947278a0e10f765d1a4a3bae8bcc6d4a0c..352b735c868b9bfc02d5d2cc27e7bf785cb43101 100644 (file)
@@ -4839,12 +4839,9 @@ procfs_init_inferior (int pid)
      the actual process ID plus the lwp ID. */
   inferior_ptid = MERGEPID (pi->pid, proc_get_current_thread (pi));
 
-#ifdef START_INFERIOR_TRAPS_EXPECTED
+  /* Typically two, one trap to exec the shell, one to exec the
+     program being debugged.  Defined by "inferior.h".  */
   startup_inferior (START_INFERIOR_TRAPS_EXPECTED);
-#else
-  /* One trap to exec the shell, one to exec the program being debugged.  */
-  startup_inferior (2);
-#endif /* START_INFERIOR_TRAPS_EXPECTED */
 }
 
 /*
This page took 0.024036 seconds and 4 git commands to generate.