Message ID | 20181207090135.7651-12-luc.michel@greensocs.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F25D613AF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 7 Dec 2018 09:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E06652E6D3 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 7 Dec 2018 09:30:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D47212E6F7; Fri, 7 Dec 2018 09:30:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 857612E6D3 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 7 Dec 2018 09:30:22 +0000 (UTC) Received: from localhost ([::1]:45009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gVCSj-0005s3-DM for patchwork-qemu-devel@patchwork.kernel.org; Fri, 07 Dec 2018 04:30:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <luc.michel@greensocs.com>) id 1gVC1o-0008NO-Oq 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 1gVC1j-0005ob-7t for qemu-devel@nongnu.org; Fri, 07 Dec 2018 04:02:32 -0500 Received: from greensocs.com ([193.104.36.180]:52249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <luc.michel@greensocs.com>) id 1gVC1V-0005S1-DU; Fri, 07 Dec 2018 04:02:13 -0500 Received: from localhost (localhost [127.0.0.1]) by greensocs.com (Postfix) with ESMTP id C8BC9441B53; Fri, 7 Dec 2018 10:01:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173312; bh=5fEHqqrKfs547kfy2tsAp8GlZdfkwG8rdzXh46VRHEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ydwxVgvcYPKh/dfgme/Pzvwl3pKTHgRUrurRGzXse8pUnctp7pBw+lomAisg6TDSj wjAB5dRMAa7cX9lFuiEX5pmKjQSvZSLCTkjksxwgBotFfammJKAbOUe/9UQrz6Vary +q28g3Lla/djtm4hx8fl3upw9v3t6qS0QfJpW9xY= 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=WVDci8yj; dkim=pass (1024-bit key) header.d=greensocs.com header.b=WVDci8yj 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 e9nQ_L8uwgL8; Fri, 7 Dec 2018 10:01:51 +0100 (CET) Received: by greensocs.com (Postfix, from userid 998) id D00DA480011; Fri, 7 Dec 2018 10:01:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173305; bh=5fEHqqrKfs547kfy2tsAp8GlZdfkwG8rdzXh46VRHEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WVDci8yjvsQAqJ4HHuwQXzWAtx+wfL7EGh0dQI195pNE8qxmUF3AorHJ5F4KsU+ie rGdZyAxP6cLqgdhDbwIhGsvWjE4/SFJMbz8v2BIOQcjD0PRvSz/vflOrScN7oVFOeb RvaYjfpz9lLf+MChkRj7Cd1d1ZqiuHyTp3a6TCmI= 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 697FA480037; Fri, 7 Dec 2018 10:01:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1544173305; bh=5fEHqqrKfs547kfy2tsAp8GlZdfkwG8rdzXh46VRHEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WVDci8yjvsQAqJ4HHuwQXzWAtx+wfL7EGh0dQI195pNE8qxmUF3AorHJ5F4KsU+ie rGdZyAxP6cLqgdhDbwIhGsvWjE4/SFJMbz8v2BIOQcjD0PRvSz/vflOrScN7oVFOeb RvaYjfpz9lLf+MChkRj7Cd1d1ZqiuHyTp3a6TCmI= From: Luc Michel <luc.michel@greensocs.com> To: qemu-devel@nongnu.org Date: Fri, 7 Dec 2018 10:01:29 +0100 Message-Id: <20181207090135.7651-12-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-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 11/16] gdbstub: add support for extended mode packet 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
gdbstub: support for the multiprocess extension
|
expand
|
diff --git a/gdbstub.c b/gdbstub.c index 48c2571ebe..1cf1bea428 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1301,10 +1301,13 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) trace_gdbstub_io_command(line_buf); p = line_buf; ch = *p++; switch(ch) { + case '!': + put_packet(s, "OK"); + break; case '?': /* TODO: Make this return the correct value for user-mode. */ snprintf(buf, sizeof(buf), "T%02xthread:%s;", GDB_SIGNAL_TRAP, gdb_fmt_thread_id(s, s->c_cpu, thread_id, sizeof(thread_id))); put_packet(s, buf);