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]

[commit without 7.6.1] [gdbserver patch] [7.6.1] Fix fd leak regression


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


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