This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: close-on-exec internal file descriptors


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> I'll give it a try.  If it works I suppose we'll need a new plan.
Tom> One idea would be to see which file descriptors are open when gdb
Tom> starts, and then preserve just those.

Tom> Here's the implementation of this idea.

Tom> Built and regtested on x86-64 Fedora 16.

Tom> Tom

Tom> 2013-01-03  Tom Tromey  <tromey@redhat.com>

Tom> 	PR gdb/7912:
Tom> 	* Makefile.in (SFILES): Add filestuff.c
Tom> 	(COMMON_OBS): Add filestuff.o.
Tom> 	(filestuff.o): New target.
[...]

I'm checking this in now.

I rebased it and then regression tested it on x86-64 Fedora 18.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]