[v2,0/4] Introduce the 'x' RSP packet

Message ID cover.1710420898.git.tankut.baris.aktemur@intel.com
Headers
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(-)