• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision9ecb4531e2f07574bfd69f9a7730312562b98751 (tree)
l'heure2020-06-16 21:58:32
AuteurLuis Machado <luis.machado@lina...>
CommiterLuis Machado

Message de Log

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.

Change Summary

Modification

--- a/gdb/nat/aarch64-linux.h
+++ b/gdb/nat/aarch64-linux.h
@@ -129,4 +129,14 @@ ps_err_e aarch64_ps_get_thread_area (struct ps_prochandle *ph,
129129 lwpid_t lwpid, int idx, void **base,
130130 int is_64bit_p);
131131
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+
132142 #endif /* NAT_AARCH64_LINUX_H */