From: Yao Qi <qiyaoltc@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/3 v2] [AArch64] Support tagged pointer
Date: Thu, 26 Oct 2017 08:29:00 -0000 [thread overview]
Message-ID: <1509006590-9401-1-git-send-email-yao.qi@linaro.org> (raw)
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
next reply other threads:[~2017-10-26 8:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-26 8:29 Yao Qi [this message]
2017-10-26 8:30 ` [PATCH 1/3] [AArch64 Linux] Get rid of top byte from tagged address on memory access Yao Qi
2017-11-09 20:24 ` Pedro Alves
2017-10-26 8:30 ` [PATCH 3/3] [AArch64] Remove tag from address for watchpoint Yao Qi
2017-11-09 20:30 ` Pedro Alves
2017-11-09 21:08 ` Simon Marchi
2017-11-09 21:20 ` Yao Qi
2017-11-09 21:09 ` Yao Qi
2017-11-09 22:25 ` Pedro Alves
2017-10-26 8:30 ` [PATCH 2/3] [AArch64] Adjust breakpoint on tagged address Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1509006590-9401-1-git-send-email-yao.qi@linaro.org \
--to=qiyaoltc@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox