Re: [PATCH v3 11/24] AArch64: Add MTE ptrace requests

Luis Machado via Gdb-patches
2020-12-28T19:12:19Z

On 12/25/20 9:19 PM, Simon Marchi wrote:
> On 2020-11-09 12:04 p.m., Luis Machado via Gdb-patches wrote:
>> This patch adds the required ptrace request definitions into a new include
>> file that will be used by the next patches.
>>
>> They are PTRACE_PEEKMTETAGS and PTRACE_POKEMTETAGS.
>
> IIUC, this is to allow building GDB on an older kernel that doesn't provide
> these definitions?

That's right. It makes it possible to build GDB on hardware/kernel not
supporting MTE, but still allowing GDB to support MTE.