]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
python: Add clear() to gdb.Record.
authorFelix Willgerodt <felix.willgerodt@intel.com>
Mon, 25 Feb 2019 14:30:29 +0000 (15:30 +0100)
committerFelix Willgerodt <felix.willgerodt@intel.com>
Wed, 14 Aug 2024 09:20:56 +0000 (11:20 +0200)
commit8958aefd34200c8d2cd6e81bba32198468789c62
tree3811d80cd4d2a0743da4ab090cfd5640ef8c4c42
parentbea4f6fac4e0b1700188fad19499c62c46f8e70d
python: Add clear() to gdb.Record.

This function allows to clear the trace data from python, forcing to
re-decode the trace for successive commands.
This will be used in future ptwrite patches, to trigger re-decoding when
the ptwrite filter changes.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Markus Metzger <markus.t.metzger@intel.com>
gdb/NEWS
gdb/doc/python.texi
gdb/python/py-record-btrace.c
gdb/python/py-record-btrace.h
gdb/python/py-record.c
gdb/testsuite/gdb.python/py-record-btrace.exp