/* Fork a Unix child process, and set up to debug it, for GDB.
- Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
- 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1990-1996, 1998-2001, 2004-2012 Free Software
+ Foundation, Inc.
Contributed by Cygnus Support.
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. */