RFC: close-on-exec internal file descriptors
Tom Tromey
tromey@redhat.com
Mon Apr 22 23:55:00 GMT 2013
>>>>> "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
More information about the Gdb-patches
mailing list