Re: [Qemu-devel] [PATCH v2] gdbstub: Close connection in gdb_exit

2011-01-16 Thread Edgar E. Iglesias
On Thu, Jan 13, 2011 at 12:46:57PM +0100, Fabien Chouteau wrote: On Windows, this is required to flush the remaining data in the IO stream, otherwise Gdb do not receive the last packet. Version 2: Fix linux-user build error. Applied, thanks. Signed-off-by: Fabien Chouteau

[Qemu-devel] [PATCH v2] gdbstub: Close connection in gdb_exit

2011-01-13 Thread Fabien Chouteau
On Windows, this is required to flush the remaining data in the IO stream, otherwise Gdb do not receive the last packet. Version 2: Fix linux-user build error. Signed-off-by: Fabien Chouteau chout...@adacore.com --- gdbstub.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)

Re: [Qemu-devel] [PATCH v2] gdbstub: Close connection in gdb_exit

2011-01-13 Thread Edgar E. Iglesias
On Thu, Jan 13, 2011 at 12:46:57PM +0100, Fabien Chouteau wrote: On Windows, this is required to flush the remaining data in the IO stream, otherwise Gdb do not receive the last packet. Version 2: Fix linux-user build error. Hi, It seems a bit odd to explicitely close for system mode but