This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3 v2] [AArch64] Support tagged pointer
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 26 Oct 2017 09:29:47 +0100
- Subject: [PATCH 0/3 v2] [AArch64] Support tagged pointer
- Authentication-results: sourceware.org; auth=none
ARMv8 supports tagged address, that is, the top one byte in address
is ignored. It is always enabled on aarch64-linux. See
https://www.kernel.org/doc/Documentation/arm64/tagged-pointers.txt
Some parts of GDB related to address are updated in this patch series,
- Memory access, like command 'x',
- Setting hw breakpoint on some address,
- Setting watchpoint on some address,
Each of them is fixed in a different way.
This is the v2, and v1 can be found,
https://sourceware.org/ml/gdb-patches/2017-10/msg00593.html
A Linux kernel doc link is added in commit log, and a test case is
added.
*** BLURB HERE ***
Yao Qi (3):
[AArch64 Linux] Get rid of top byte from tagged address on memory
access
[AArch64] Adjust breakpoint on tagged address
[AArch64] Remove tag from address for watchpoint
gdb/aarch64-linux-nat.c | 25 +++++
gdb/aarch64-linux-tdep.c | 11 +++
gdb/aarch64-tdep.c | 10 ++
gdb/breakpoint.c | 3 +-
gdb/gdbarch.c | 23 +++++
gdb/gdbarch.h | 8 ++
gdb/gdbarch.sh | 5 +
gdb/gdbserver/linux-aarch64-low.c | 33 +++++++
gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c | 58 ++++++++++++
gdb/testsuite/gdb.arch/aarch64-tagged-pointer.exp | 106 ++++++++++++++++++++++
10 files changed, 280 insertions(+), 2 deletions(-)
create mode 100644 gdb/testsuite/gdb.arch/aarch64-tagged-pointer.c
create mode 100644 gdb/testsuite/gdb.arch/aarch64-tagged-pointer.exp
--
1.9.1