From patchwork Wed Jul 17 08:11:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 259622 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4E4802C013D for ; Wed, 17 Jul 2013 18:11:36 +1000 (EST) Received: from localhost ([::1]:59387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMph-0003fV-P3 for incoming@patchwork.ozlabs.org; Wed, 17 Jul 2013 04:11:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMpG-0003bV-L7 for qemu-devel@nongnu.org; Wed, 17 Jul 2013 04:11:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzMpE-00088C-Kz for qemu-devel@nongnu.org; Wed, 17 Jul 2013 04:11:06 -0400 Received: from thoth.sbs.de ([192.35.17.2]:31062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMpE-00087m-AR for qemu-devel@nongnu.org; Wed, 17 Jul 2013 04:11:04 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.13.6/8.13.6) with ESMTP id r6H8B2iO028010; Wed, 17 Jul 2013 10:11:02 +0200 Received: from mchn199C.mchp.siemens.de ([139.25.40.156]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id r6H8B2Z8004104; Wed, 17 Jul 2013 10:11:02 +0200 Message-ID: <51E65195.4030009@siemens.com> Date: Wed, 17 Jul 2013 10:11:01 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Anthony Liguori References: <51E65168.5080907@siemens.com> In-Reply-To: <51E65168.5080907@siemens.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 192.35.17.2 Cc: qemu-devel , Fabien Chouteau Subject: [Qemu-devel] [PATCH 2/2][RESENT] 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 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 files changed, 0 insertions(+), 2 deletions(-) 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();