Re: [patch] [gdbserver] Fix multi-GB error log files

Pedro Alves
2011-03-16T10:13:53Z

On Wednesday 16 March 2011 09:32:28, Jan Kratochvil wrote:
> Hi Pedro,
>
> if the only concern is the late release cycle phase it can wait. When it
> waited so many ears I do not find a need to provide a temporary testsuite-only
> fix just to fix the 7.3 gdbserver testsuite.
>
> So the question is whether do you want to fix the racey user-facing behavior
> of gdbserver or not, independent of the GDB release cycle.

Yes, I'm willing to give that a try. I do think your patch solves
it in a way that makes sense: without --once, the default, we leave the
socket open; with --once, we release it as soon as possible, so the user
can still open several debug sessions with the same port, if he's okay
with not being able to reconnect back to the same gdbserver.

--
Pedro Alves