mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-22 05:24:14 +00:00
Revert "gdbstub: Do not kill target in system emulation mode"
The requirements described in this patch are implemented by "Add GDB qAttached support". This reverts commit 00e94dbc7fd0110b0555d59592b004333adfb4b8. Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
a3919386ea
commit
ce0274f730
@ -888,11 +888,9 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
|
|||||||
goto unknown_command;
|
goto unknown_command;
|
||||||
}
|
}
|
||||||
case 'k':
|
case 'k':
|
||||||
#ifdef CONFIG_USER_ONLY
|
|
||||||
/* Kill the target */
|
/* Kill the target */
|
||||||
fprintf(stderr, "\nQEMU: Terminated via GDBstub\n");
|
fprintf(stderr, "\nQEMU: Terminated via GDBstub\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
#endif
|
|
||||||
case 'D':
|
case 'D':
|
||||||
/* Detach packet */
|
/* Detach packet */
|
||||||
gdb_breakpoint_remove_all();
|
gdb_breakpoint_remove_all();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user