[v2,0/6] Fix tracepoint register limitations

Message ID 20180727210318.2960-1-pedromfc@linux.ibm.com
Headers show
  • Fix tracepoint register limitations
Related show


Pedro Franco de Carvalho July 27, 2018, 9:03 p.m.
This is V2 of: https://sourceware.org/ml/gdb-patches/2018-06/msg00501.html

The goal of this series is to address internal limitations with
tracepoints that showed up when I tried to enable more powerpc

I added two new patches to the series, one that changes
collection_list in tracepoint.c to only set remote register numbers in
the register mask, and one that fixes another limitation from adding
more powerpc registers, which caused a buffer overrun when saving a
.ctf file.

Pedro Franco de Carvalho (6):
  Fix indentation in remote_target::download_tracepoint
  Remove trailing '-' from the last QTDP action packet
  Use get_remote_packet_size in download_tracepoint
  Use remote register numbers in tracepoint mask
  Variable size for regs mask in collection list
  Allow larger regblock sizes when saving tracefiles

 gdb/remote.c     | 161 ++++++++++++++++++++++++++++++-------------
 gdb/tracefile.c  |  42 +++++++-----
 gdb/tracepoint.c | 206 ++++++++++++++++++++++++++++++++-----------------------
 gdb/tracepoint.h |  13 ++--
 4 files changed, 267 insertions(+), 155 deletions(-)