[PATCH v2 0/4] Introduce the 'x' RSP packet
Tankut Baris Aktemur
tankut.baris.aktemur@intel.com
Thu Mar 14 13:07:27 GMT 2024
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(-)
--
2.34.1
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
More information about the Gdb-patches
mailing list