Re: [PATCH v1 5/9] gdbstub: eliminate gdbserver_fd global

2020-05-01 Thread Richard Henderson
On 4/30/20 12:01 PM, Alex Bennée wrote: > We don't really need to track this fd beyond the initial creation of > the socket. We already know if the system has been initialised by > virtue of the gdbserver_state so lets remove it. This makes the later > re-factoring easier. > > Signed-off-by: Alex

Re: [PATCH v1 5/9] gdbstub: eliminate gdbserver_fd global

2020-05-01 Thread Philippe Mathieu-Daudé
On 4/30/20 9:01 PM, Alex Bennée wrote: We don't really need to track this fd beyond the initial creation of the socket. We already know if the system has been initialised by virtue of the gdbserver_state so lets remove it. This makes the later re-factoring easier. Signed-off-by: Alex Bennée --

[PATCH v1 5/9] gdbstub: eliminate gdbserver_fd global

2020-04-30 Thread Alex Bennée
We don't really need to track this fd beyond the initial creation of the socket. We already know if the system has been initialised by virtue of the gdbserver_state so lets remove it. This makes the later re-factoring easier. Signed-off-by: Alex Bennée --- v1 - fix coding style issue --- gdbs