gdbstub: Close connection in gdb_exit
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: NFabien Chouteau <chouteau@adacore.com> Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@petalogix.com>
Showing
想要评论请 注册 或 登录