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


>>>>> "Andreas" == Andreas Schwab <schwab@linux-m68k.org> writes:

Andreas> I don't think you can use closefrom here.  The debuggee might
Andreas> depend on inherited descriptors, and gdb should be fully
Andreas> transparent here.

I had never heard of anybody doing this.

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

Tom


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