qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>,
	qemu-arm@nongnu.org, qemu-devel@nongnu.org
Cc: Luis Machado <luis.machado@arm.com>
Subject: Re: [PATCH] target/arm: Report pauth information to gdb as 'pauth_v2'
Date: Thu, 6 Apr 2023 12:35:53 -0700	[thread overview]
Message-ID: <fabfb2ca-d77a-a2a4-1a95-21d466d397fe@linaro.org> (raw)
In-Reply-To: <20230406150827.3322670-1-peter.maydell@linaro.org>

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	other threads:[~2023-04-06 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 15:08 [PATCH] target/arm: Report pauth information to gdb as 'pauth_v2' Peter Maydell
2023-04-06 19:35 ` Richard Henderson [this message]

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=fabfb2ca-d77a-a2a4-1a95-21d466d397fe@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=luis.machado@arm.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).