Re: [PATCH v10 06/10] python: Add clear() to gdb.Record.

Eli Zaretskii via Gdb-patches
2023-07-18T13:00:23Z

> Date: Tue, 18 Jul 2023 13:56:33 +0200
> From: Felix Willgerodt via Gdb-patches <gdb-patches@sourceware.org>
>
> 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>
> ---
> gdb/NEWS | 3 +++
> gdb/doc/python.texi | 5 +++++
> gdb/python/py-record-btrace.c | 13 +++++++++++++
> gdb/python/py-record-btrace.h | 3 +++
> gdb/python/py-record.c | 16 ++++++++++++++++
> gdb/testsuite/gdb.python/py-record-btrace.exp | 4 ++++
> 6 files changed, 44 insertions(+)

The NEWS part (which AFAIU is the only change in v10,
documentation-wise) is OK. Thanks.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>