[PATCH v2 0/6] Fix tracepoint register limitations

Pedro Franco de Carvalho
2018-07-27T21:03:39Z

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
registers.

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(-)

--
2.13.6