Re: [patch gdbserver 7.6.1 only] Fix fd leak regression

Tom Tromey
2013-08-29T15:00:58Z

Tom> gdbserver on trunk can just use the filestuff.c code.

Pedro> Yeah, it already does:
Pedro> https://sourceware.org/ml/gdb-patches/2013-08/msg00765.html
Pedro> but it doesn't call socket_mark_cloexec or similars, so we'll
Pedro> probably still have to revisit this at some point (years
Pedro> from now). :-)

Yeah, I meant the other filestuff.h code, like gdb_socket_cloexec and
gdb_pipe_cloexec.

Tom