From patchwork Sat Feb 7 08:38:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 437523 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 585A61400F1 for ; Sat, 7 Feb 2015 19:39:37 +1100 (AEDT) Received: from localhost ([::1]:51732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK0vN-0005JK-8P for incoming@patchwork.ozlabs.org; Sat, 07 Feb 2015 03:39:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK0v2-0004gT-1G for qemu-devel@nongnu.org; Sat, 07 Feb 2015 03:39:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YK0uy-0007gH-0y for qemu-devel@nongnu.org; Sat, 07 Feb 2015 03:39:11 -0500 Received: from mout.web.de ([212.227.15.14]:60684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK0ux-0007gA-NU for qemu-devel@nongnu.org; Sat, 07 Feb 2015 03:39:07 -0500 Received: from md1f2u6c.ww002.siemens.net ([95.157.58.223]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0Le4js-1XqDXI0iGi-00psx8; Sat, 07 Feb 2015 09:39:04 +0100 From: Jan Kiszka To: qemu-devel , Peter Maydell Date: Sat, 7 Feb 2015 09:38:45 +0100 Message-Id: <1c998e2f38eca4da4e50233b787fb53be9dbfe86.1423298325.git.jan.kiszka@web.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: X-Provags-ID: V03:K0:bsg3faVpASrZCqFMO4Dfhv/3VJwirMVb4dPUepNCHwevG0jMVW6 LRAhU3xbt6m3T7/32w492Ken0k0mLlo/u5avhgeiDCvzV8T/mouWnFfMBdBJq+tLFpJVHDK 0lc4UU6BEwrEA3qu+IrZf4ALkxKKe+BOUCfWibNcVkv5fP+RtUafNMM8/Bl4pQ91acTDH1a luYZ3pqpaZ31b3tl4Ah5Q== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.14 Cc: Pedro Alves , Fabien Chouteau Subject: [Qemu-devel] [PATCH 4/4] Revert "gdbstub: Do not kill target in system emulation mode" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Fabien Chouteau The requirements described in this patch are implemented by "Add GDB qAttached support". This reverts commit 00e94dbc7fd0110b0555d59592b004333adfb4b8. Signed-off-by: Fabien Chouteau --- gdbstub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index efa29b2..0f2d371 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();