This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit without 7.6.1] [gdbserver patch] [7.6.1] Fix fd leak regression
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 28 Aug 2013 19:45:54 +0200
- Subject: [commit without 7.6.1] [gdbserver patch] [7.6.1] Fix fd leak regression
- Authentication-results: sourceware.org; auth=none
- References: <20130826202121 dot GA31493 at host2 dot jankratochvil dot net> <521C7CB1 dot 3070202 at redhat dot com>
On Tue, 27 Aug 2013 12:17:21 +0200, Pedro Alves wrote:
> On 08/26/2013 09:21 PM, Jan Kratochvil wrote:
>
> > gdb/gdbserver/
> > 2013-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > PR server/15604
> > * linux-low.c: Include filestuff.h.
> > (linux_create_inferior) <pid == 0>: Call close_most_fds.
> > * lynx-low.c: Include filestuff.h.
> > (lynx_create_inferior) <pid == 0>: Call close_most_fds.
> > * server.c: Include filestuff.h.
> > (main): Call notice_open_fds.
> > * spu-low.c: Include filestuff.h.
> > (spu_create_inferior) <pid == 0>: Call close_most_fds.
>
> OK, thanks.
Checked in:
https://sourceware.org/ml/gdb-cvs/2013-08/msg00148.html
Although without 7.6.1 - 7.6 does not yet have gdb/common/filestuff.[ch] and
from various available solutions I think it is just OK to wait for 7.7.
Thanks,
Jan