]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add GDB-side remote target support for memory tagging
authorLuis Machado <luis.machado@linaro.org>
Mon, 15 Jun 2020 18:18:55 +0000 (15:18 -0300)
committerLuis Machado <luis.machado@linaro.org>
Thu, 25 Jun 2020 16:23:38 +0000 (13:23 -0300)
commit455ae6919e9bba74f0f724c3f61084869bed5e3c
treef1db4fdea8a2a63f706bcaf1f2086254f495b64e
parentf8eaa6cb67ae3c4e22cfb74723a4f29dc402dd53
Add GDB-side remote target support for memory tagging

This patch adds memory tagging support to GDB's remote side, with
packet string checks, new packet support and an implementation of
the two new tags methods fetch_atags and store_atags.

gdb/ChangeLog:

YYYY-MM-DD  Luis Machado  <luis.machado@linaro.org>

* remote.c (PACKET_memory_tagging_feature): New enum.
(remote_memory_tagging_p): New function.
(remote_protocol_features): New "memory-tagging" entry.
(remote_target::remote_query_supported): Handle memory tagging
support.
(remote_target::supports_memory_tagging): Implement.
(create_fmemtags_request, parse_fmemtags_reply)
(create_smemtags_request): New functions.
(remote_target::fetch_memtags): Implement.
(remote_target::store_memtags): Implement.
(_initialize_remote): Add new "memory-tagging-feature"
config command.
gdb/remote.c