Get rid of corefile.c:close_exec_file
authorJoel Brobecker <brobecker@gnat.com>
Wed, 4 Jan 2012 15:13:26 +0000 (15:13 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 4 Jan 2012 15:13:26 +0000 (15:13 +0000)
commit78218f5600d1c8dbe66f5281d24157b266124243
treec4d24f387b7be8ff0f6f1176743a210e18c68f29
parent0fcd72ba3772517ba91b2e84f39db6be8e194630
Get rid of corefile.c:close_exec_file

The body of this function has been commented out since Jul 1999, and
thus seems unnecessary. While at it, remove some commented out code
that seems to be related to the function being deleted.

gdb/ChangeLog:

* corefile.c (close_exec_file): Delete.
(reopen_exec_file): Remove commented out code that seems related
to close_exec_file, which is being deleted here.
* inferior.h (close_exec_file): Delete.
* fork-child.c (fork_inferior): Remove call to fork_inferior.
gdb/ChangeLog
gdb/corefile.c
gdb/fork-child.c
gdb/inferior.h