From patchwork Wed Dec 11 16:05:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Hedde X-Patchwork-Id: 1207748 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) 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="uuyk14+P"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Y24z1Ktwz9shw for ; Thu, 12 Dec 2019 03:12:18 +1100 (AEDT) Received: from localhost ([::1]:45256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if4az-00070z-0y for incoming@patchwork.ozlabs.org; Wed, 11 Dec 2019 11:12:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42480) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if4UQ-0002wR-Hi for qemu-devel@nongnu.org; Wed, 11 Dec 2019 11:05:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1if4UP-0003wl-Ag for qemu-devel@nongnu.org; Wed, 11 Dec 2019 11:05:26 -0500 Received: from beetle.greensocs.com ([5.135.226.135]:49342) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1if4UO-0003uC-Nx for qemu-devel@nongnu.org; Wed, 11 Dec 2019 11:05:25 -0500 Received: from crumble.bar.greensocs.com (crumble.bar.greensocs.com [172.16.11.102]) by beetle.greensocs.com (Postfix) with ESMTPS id 9510096EF0; Wed, 11 Dec 2019 16:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greensocs.com; s=mail; t=1576080322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7ZbBjtI4dr6fjhdNdYGM+WXuaoVgIRl6Ax5D6XSQADc=; b=uuyk14+PBQQF54KDIehtjdPAEVAhzLefQIvK+0OwynIWtFtfO55cv/cCz9IzlH0+8QZLcC yVt1PbudVx1LkjCnQU+35QCt4i+kXrPszA11fKL/CbE11tdtWSkMSr3CGQec2kgcPE0LGo elrIoSddy6dkxjZAyVA0O1ezCjFg+e0= From: Damien Hedde To: qemu-devel@nongnu.org Subject: [PATCH v2 0/2] gdbstub: allow sending packet of arbitrary length Date: Wed, 11 Dec 2019 17:05:12 +0100 Message-Id: <20191211160514.58373-1-damien.hedde@greensocs.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=greensocs.com; s=mail; t=1576080322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7ZbBjtI4dr6fjhdNdYGM+WXuaoVgIRl6Ax5D6XSQADc=; b=M0YQVGFpjMdkuK1ZLPL0HVk/LN+A9afpjO+aVzY9VY1ZXzngAcrBTxLL/+0Uk/foOyZKWV ew08S73y+LHMF3XOVxqtAvRk0ap03tFQ6KysuQGxwjkqesMxiEi2eB3CsNjWP1Jz56H14O YDM5qDdT+g4LKq6399Mggrvid91QSwI= ARC-Seal: i=1; s=mail; d=greensocs.com; t=1576080322; a=rsa-sha256; cv=none; b=HjtCvj9FlJokZBsCiOYul7BSGDr9DVI1tHSW8P6zy30Ffco7133XMiJq/tj+iOfaSdFFRj uEMPl+435q6yWCBuT65uGWUJ7/ydQLe81/ko+Y5bh5GY7+uGC+xKeP0Unu2+VuasVX5oWw dCwTBU5nAR2C/s6npheLZba9FxlYULY= ARC-Authentication-Results: i=1; beetle.greensocs.com; none X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.135.226.135 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Damien Hedde , philmd@redhat.com, alex.bennee@linaro.org, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hi All, This series is a follow-up of Alex's series about sve registers which introduces some GbyteArray/Gstring in the gdbstub. It removes the remaining barrier to send big packets. In consequence, we can slso simply gdb_monitor_write(). Based-on <20191130084602.10818-1-alex.bennee@linaro.org> v2: + patch 1: fix gdb_monitor_write() max_sz error (Luc) + patch 2: new patch (Luc) --- Damien Damien Hedde (2): gdbstub: change GDBState.last_packet to GByteArray gdbstub: do not split gdb_monitor_write payload gdbstub.c | 60 +++++++++++++++++++++---------------------------------- 1 file changed, 23 insertions(+), 37 deletions(-)