Message ID | 20181207090135.7651-16-luc.michel@greensocs.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=greensocs.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=greensocs.com header.i=@greensocs.com header.b="hgdGBwgT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=greensocs.com header.i=@greensocs.com header.b="lhRD4wyT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=greensocs.com header.i=@greensocs.com header.b="lhRD4wyT"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43B6JR1Xggz9s3q for <incoming@patchwork.ozlabs.org>; Fri, 7 Dec 2018 20:15:35 +1100 (AEDT) Received: from localhost ([::1]:44916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1gVCEO-00030T-CM for incoming@patchwork.ozlabs.org; Fri, 07 Dec 2018 04:15:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <luc.michel@greensocs.com>) id 1gVC1q-0008OY-G3 for qemu-devel@nongnu.org; Fri, 07 Dec 2018 04:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <luc.michel@greensocs.com>) id 1gVC1n-0005sQ-5H for qemu-devel@nongnu.org; Fri, 07 Dec 2018 04:02:34 -0500 Received: from greensocs.com ([193.104.36.180]:52276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <luc.michel@greensocs.com>) id 1gVC1b-0005XD-Ro; Fri, 07 Dec 2018 04:02:20 -0500 Received: from localhost (localhost [127.0.0.1]) by greensocs.com (Postfix) with ESMTP id 4645248001C; Fri, 7 Dec 2018 10:01:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173319; bh=IP6jRQoZE0XKPG4iiMFfY8vpzGwLJrBjjivKVJr6bTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hgdGBwgTxbBPns+RRVz2aI1MVgFXssHXgD4Uqe7t+gyBzqEaodrRE86qJTHICk2MH 9EcZdA3tq9i2Wwp+ySUNSnuTyeJ2Adt7AM8kSxcaIBhplDYyveRBQc2XqHugC2Jbv5 GGatb3D8A4S2JCdR1O51BvAG+KQz9uocxWjAHLp4= X-Virus-Scanned: amavisd-new at greensocs.com Authentication-Results: gs-01.greensocs.com (amavisd-new); dkim=pass (1024-bit key) header.d=greensocs.com header.b=lhRD4wyT; dkim=pass (1024-bit key) header.d=greensocs.com header.b=lhRD4wyT Received: from greensocs.com ([127.0.0.1]) by localhost (gs-01.greensocs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yp5BzxRFgf90; Fri, 7 Dec 2018 10:01:53 +0100 (CET) Received: by greensocs.com (Postfix, from userid 998) id 93A4C480013; Fri, 7 Dec 2018 10:01:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173307; bh=IP6jRQoZE0XKPG4iiMFfY8vpzGwLJrBjjivKVJr6bTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lhRD4wyTVgj6/nrZ9qJK2bCrNjDkD5R+ADdGJmPfO5hKJnNPud7Qzx65rJEtNtupX g4l34bdMt+VCjWDFirKhrx9gxxKLE8Jb14NCCzAmpl15kwpmEVsedTSF2NNanhiUNE 8PnyqeIL/oB/lkusHIYPBJTMHFQ7CXHapjOitsP8= Received: from michell-laptop.home.lmichel.fr (lfbn-1-8165-82.w90-112.abo.wanadoo.fr [90.112.74.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: luc.michel@greensocs.com) by greensocs.com (Postfix) with ESMTPSA id 29AB748002B; Fri, 7 Dec 2018 10:01:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173307; bh=IP6jRQoZE0XKPG4iiMFfY8vpzGwLJrBjjivKVJr6bTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lhRD4wyTVgj6/nrZ9qJK2bCrNjDkD5R+ADdGJmPfO5hKJnNPud7Qzx65rJEtNtupX g4l34bdMt+VCjWDFirKhrx9gxxKLE8Jb14NCCzAmpl15kwpmEVsedTSF2NNanhiUNE 8PnyqeIL/oB/lkusHIYPBJTMHFQ7CXHapjOitsP8= From: Luc Michel <luc.michel@greensocs.com> To: qemu-devel@nongnu.org Date: Fri, 7 Dec 2018 10:01:33 +0100 Message-Id: <20181207090135.7651-16-luc.michel@greensocs.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181207090135.7651-1-luc.michel@greensocs.com> References: <20181207090135.7651-1-luc.michel@greensocs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 193.104.36.180 Subject: [Qemu-devel] [PATCH v8 15/16] gdbstub: add multiprocess extension support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Eduardo Habkost <ehabkost@redhat.com>, alistair@alistair23.me, mark.burton@greensocs.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, saipava@xilinx.com, edgari@xilinx.com, qemu-arm@nongnu.org, Luc Michel <luc.michel@greensocs.com> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
gdbstub: support for the multiprocess extension
|
expand
|
diff --git a/gdbstub.c b/gdbstub.c index 48b49195f7..bb82d97c5c 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1730,10 +1730,16 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) snprintf(buf, sizeof(buf), "PacketSize=%x", MAX_PACKET_LENGTH); cc = CPU_GET_CLASS(first_cpu); if (cc->gdb_core_xml_file != NULL) { pstrcat(buf, sizeof(buf), ";qXfer:features:read+"); } + + if (strstr(p, "multiprocess+")) { + s->multiprocess = true; + } + pstrcat(buf, sizeof(buf), ";multiprocess+"); + put_packet(s, buf); break; } if (strncmp(p, "Xfer:features:read:", 19) == 0) { const char *xml;