Skip to content
Snippets Groups Projects
Commit ce0274f7 authored by Fabien Chouteau's avatar Fabien Chouteau Committed by Peter Maydell
Browse files

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 00e94dbc.

Signed-off-by: default avatarFabien Chouteau <chouteau@adacore.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent a3919386
No related branches found
No related tags found
No related merge requests found
......@@ -888,11 +888,9 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
goto unknown_command;
}
case 'k':
#ifdef CONFIG_USER_ONLY
/* Kill the target */
fprintf(stderr, "\nQEMU: Terminated via GDBstub\n");
exit(0);
#endif
case 'D':
/* Detach packet */
gdb_breakpoint_remove_all();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment