OSDN Git Service

Get rid of corefile.c:close_exec_file
authorbrobecke <brobecke>
Wed, 4 Jan 2012 15:13:25 +0000 (15:13 +0000)
committerbrobecke <brobecke>
Wed, 4 Jan 2012 15:13:25 +0000 (15:13 +0000)
commit68165bef40ea527be58028c38aeab32e3959846e
tree21cd3545ec923f8ee83a45512c0ed27635d90d82
parenta17b292d4ac61614f4103d8d32c1d6ec6c983476
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