Message ID | cover.1710420898.git.tankut.baris.aktemur@intel.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E3E03857718 for <patchwork@sourceware.org>; Thu, 14 Mar 2024 13:08:17 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by sourceware.org (Postfix) with ESMTPS id 480F03858C31 for <gdb-patches@sourceware.org>; Thu, 14 Mar 2024 13:07:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 480F03858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 480F03858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710421669; cv=none; b=nuZRnYSaQO19JpeAOofgXEIat6I6uKJnb/lNBkdpuVdydoy5fSX9L056yRzgjbgowEIE0eUQDnBtEsvNGtL6X9/pkkc0KSW/1y8vgyDFNoCVTProARWEhNCbm14HhY9X0EUZcaXSXgUmEdWuxKTf17h+L5odBdYOl83NIMs8pYU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710421669; c=relaxed/simple; bh=hAizHVQHh6NGhJsDUFV5jkrkJtCLxZLVmOMVWsJJTYA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=oCt3Kbpq9zzYq2yvTbWFdQHBje3jvB2n7d7QDMDs1rEyk2VPlTKu68d7OeKU7lgKecCo2R86qbnjiLUU02ClsK8Cct5ISjfiQVdCvw7Eknp28SAH8iOxbIZ1xyXE51X8eME0a5/NRUUGzQ8+NWCCABQkGF+QJiazAfQIuV6IAoM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710421667; x=1741957667; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hAizHVQHh6NGhJsDUFV5jkrkJtCLxZLVmOMVWsJJTYA=; b=bbAsq53FbNlnJVsxue6k97nwnKIrcfIXCUL3ng4EjBeHWYnvEtmuP/Rz gjLIA28tssPL2TCDy2pv1dUeuY9zGQodQzx+cPiddcLOri4m4d73VFkqT NP6rxBeQ8l5mD8wPJjTtvmu851aYnfipcZHTQ1LvMiBaUdEV/bFfqu7O+ KsIxwPOr5M5KiS7ZFfOs9nwZX2laKW39CWcvLwHYoAPooChJ1avW4fMYN 4ioltXH0msljwji2XlP2mAD63L+EYi6hvr2On1bfx2FxuQ/CESHEQnzWR MFvCnC8Z88nTSt2YHW0Cvz/KfR8Sy5OEk0DU7c8EJBQXa34Q9jFLLfXhr w==; X-IronPort-AV: E=McAfee;i="6600,9927,11012"; a="15791608" X-IronPort-AV: E=Sophos;i="6.07,125,1708416000"; d="scan'208";a="15791608" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2024 06:07:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,125,1708416000"; d="scan'208";a="12734934" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2024 06:07:44 -0700 From: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> To: gdb-patches@sourceware.org Cc: tom@tromey.com Subject: [PATCH v2 0/4] Introduce the 'x' RSP packet Date: Thu, 14 Mar 2024 14:07:27 +0100 Message-Id: <cover.1710420898.git.tankut.baris.aktemur@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1710343840.git.tankut.baris.aktemur@intel.com> References: <cover.1710343840.git.tankut.baris.aktemur@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org |
Series | Introduce the 'x' RSP packet | |
Message
Aktemur, Tankut Baris
March 14, 2024, 1:07 p.m. UTC
Hello, This series introduces the 'x' packet to fetch data from the memory of a remote target in binary format to reduce the transfer overhead. Please see the last patch for time measurements in three sample cases. V1 is available at https://sourceware.org/pipermail/gdb-patches/2024-March/207235.html V2 makes the following updates: * Fine-tune the documentation of the 'm' packet to address Eli's and Tom's comments. * Update the "binary data" section in the documentation to note that 'E' should be escaped. * Remove "(e.g. shared library files)" from a comment message to not create confusion. * Add time measurement of the gcore command for a case before and after applying the patch. * Update the NEWS entry to include the arguments of the 'x' packet. * Update the documentation of the 'x' packet in a similar way to the 'm' packet done in the first bullet. * Remove a DIAGNOSTIC usage for a switch statement. Add a default case instead. * Add handling of the 'x' packet case in the `look_up_one_symbol` function. Regards Baris Tankut Baris Aktemur (4): doc: fine-tune the documentation of the 'm' RSP packet gdbserver: allow suppressing the next putpkt remote-debug log rsp: add 'E' to escaped characters gdb, gdbserver: introduce the 'x' RSP packet for binary memory read gdb/NEWS | 6 +++ gdb/doc/gdb.texinfo | 46 ++++++++++++++++++---- gdb/remote.c | 48 ++++++++++++++++++++--- gdbserver/debug.cc | 10 +++++ gdbserver/debug.h | 10 +++++ gdbserver/remote-utils.cc | 82 ++++++++++++++++++++++++++++++++------- gdbserver/remote-utils.h | 2 + gdbserver/server.cc | 21 ++++++++++ gdbsupport/rsp-low.cc | 2 +- 9 files changed, 198 insertions(+), 29 deletions(-)