GNU Binutils with patches for OS216
Revision | 9ecb4531e2f07574bfd69f9a7730312562b98751 (tree) |
---|---|
Zeit | 2020-06-16 21:58:32 |
Autor | Luis Machado <luis.machado@lina...> |
Commiter | Luis Machado |
Add new MTE PTRACE requests
Add a couple new MTE-related PTRACE requests. PTRACE_PEEKMTETAGS fetches
allocation tag information and PTRACE_POKEMTETAGS stores allocation tag
information.
gdb/ChangeLog:
YYYY-MM-DD Luis Machado <luis.machado@linaro.org>
* nat/aarch64-linux.h (PTRACE_PEEKMTETAG): Define conditionally.
(PTRACE_POKEMTETAG): Likewise.
@@ -129,4 +129,14 @@ ps_err_e aarch64_ps_get_thread_area (struct ps_prochandle *ph, | ||
129 | 129 | lwpid_t lwpid, int idx, void **base, |
130 | 130 | int is_64bit_p); |
131 | 131 | |
132 | +/* MTE allocation tag access */ | |
133 | + | |
134 | +#ifndef PTRACE_PEEKMTETAGS | |
135 | +#define PTRACE_PEEKMTETAGS 33 | |
136 | +#endif | |
137 | + | |
138 | +#ifndef PTRACE_POKEMTETAGS | |
139 | +#define PTRACE_POKEMTETAGS 34 | |
140 | +#endif | |
141 | + | |
132 | 142 | #endif /* NAT_AARCH64_LINUX_H */ |