Skip to content

Commit

Permalink
Revert "gdbstub: Do not kill target in system emulation mode"
Browse files Browse the repository at this point in the history
The requirements described in this patch are implemented by "Add GDB
qAttached support".

This reverts commit 00e94db.

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>
  • Loading branch information
Fabien-Chouteau authored and pm215 committed May 28, 2015
1 parent a391938 commit ce0274f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ce0274f

Please sign in to comment.