diff mbox

[2/2,RESENT] Revert "gdbstub: Do not kill target in system emulation mode"

Message ID 51E65195.4030009@siemens.com
State New
Headers show

Commit Message

Jan Kiszka July 17, 2013, 8:11 a.m. UTC
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>
---
 gdbstub.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/gdbstub.c b/gdbstub.c
index bc626f5..8c632ab 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2198,11 +2198,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();