[commit without 7.6.1] [gdbserver patch] [7.6.1] Fix fd leak regression
Jan Kratochvil
jan.kratochvil@redhat.com
Wed Aug 28 17:46:00 GMT 2013
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
More information about the Gdb-patches
mailing list