summaryrefslogtreecommitdiffstats
path: root/gdbstub.c
diff options
context:
space:
mode:
authorFabien Chouteau2015-02-07 09:38:45 +0100
committerPeter Maydell2015-05-28 17:57:35 +0200
commitce0274f730eacbd24c706523ddbbabb6b95d0659 (patch)
treec3d80cae62657a9816de60a0521c58c83da2a60f /gdbstub.c
parentAdd GDB qAttached support (diff)
downloadqemu-ce0274f730eacbd24c706523ddbbabb6b95d0659.tar.gz
qemu-ce0274f730eacbd24c706523ddbbabb6b95d0659.tar.xz
qemu-ce0274f730eacbd24c706523ddbbabb6b95d0659.zip
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>
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 0e512804ea..75563db79d 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -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();