Re: [PATCH v2 07/12] btrace, gdbserver: Add ptwrite to btrace_config_pt.

Eli Zaretskii via Gdb-patches
2021-06-14T15:53:35Z

> Date: Mon, 14 Jun 2021 16:54:06 +0200
> From: Felix Willgerodt via Gdb-patches <gdb-patches@sourceware.org>
>
> This enables gdb and gdbserver to communicate about ptwrite support. If
> ptwrite support would be enabled unconditionally, GDBs with older libipt
> versions would break.
>
> gdb/ChangeLog:
> 2021-06-14 Felix Willgerodt <felix.willgerodt@intel.com>
>
> * btrace.c (parse_xml_btrace_conf_pt): Add ptwrite to pt.conf.
> (btrace_conf_pt_attributes): Add ptwrite.
>
> gdb/doc/ChangeLog:
> 2021-06-14 Felix Willgerodt <felix.willgerodt@intel.com>
>
> * gdb.texinfo (General Query Packets): Document Qbtrace-conf:pt:ptwrite.
> (Branch Trace Configuration Format): Document ptwrite in btrace-conf.
>
> gdbserver/ChangeLog:
> 2021-06-14 Felix Willgerodt <felix.willgerodt@intel.com>
>
> * linux-low.cc (linux_process_target::read_btrace_conf): Add ptwrite.
> * server.cc (handle_btrace_conf_general_set): Handle pt:ptwrite.
> (supported_btrace_packets): Add Qbtrace-conf:pt:ptwrite.
>
> gdbsupport/ChangeLog:
> 2021-06-14 Felix Willgerodt <felix.willgerodt@intel.com>
>
> * btrace-common.h (btrace_config_pt): Add ptwrite.

The documentation part is OK, thanks.