* python/python.c (gdbpy_decode_line): Move cleanup creation out
[deliverable/binutils-gdb.git] / gdb / fork-child.c
index cba91f9b46d2a0039038e18f6d70854dff8135d2..3b8da49ef87c4abd61fb2d5c4bbd3d982e4e38be 100644 (file)
@@ -272,9 +272,6 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
       argv[3] = (char *) 0;
     }
 
-  /* On some systems an exec will fail if the executable is open.  */
-  close_exec_file ();
-
   /* Retain a copy of our environment variables, since the child will
      replace the value of environ and if we're vforked, we have to
      restore it.  */
This page took 0.023205 seconds and 4 git commands to generate.