This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch gdbserver 7.6.1 only] Fix fd leak regression
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 29 Aug 2013 09:00:52 -0600
- Subject: Re: [patch gdbserver 7.6.1 only] Fix fd leak regression
- Authentication-results: sourceware.org; auth=none
- References: <20130829111053 dot GA25662 at host2 dot jankratochvil dot net> <521F3B71 dot 1010007 at redhat dot com> <20130829130359 dot GA31063 at host2 dot jankratochvil dot net> <521F5804 dot 1080604 at redhat dot com> <87a9k0sgpf dot fsf at fleche dot redhat dot com> <521F5FD1 dot 8020107 at redhat dot com>
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