qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/arm: Report pauth information to gdb as 'pauth_v2'


From: Richard Henderson
Subject: Re: [PATCH] target/arm: Report pauth information to gdb as 'pauth_v2'
Date: Thu, 6 Apr 2023 12:35:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/6/23 08:08, Peter Maydell wrote:
So that we can avoid the "older gdb crashes" problem described in
commit 5787d17a42f7af4 and which caused us to disable reporting pauth
information via the gdbstub, newer gdb is going to implement support
for recognizing the pauth information via a new feature name:
  org.gnu.gdb.aarch64.pauth_v2

Older gdb won't recognize this feature name, so we can re-enable the
pauth support under the new name without risking them crashing.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
I think the gdb change isn't quite upstream yet, but this is
for 8.1 so I would expect it to be there by the time we
get around to committing this patch to QEMU.
---
  target/arm/gdbstub.c      | 9 ++++-----
  gdb-xml/aarch64-pauth.xml | 2 +-
  2 files changed, 5 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]