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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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();