From: Tom Tromey <tom@tromey.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: Jerry Zhang Jian <jerry.zhangjian@sifive.com>,
gdb-patches@sourceware.org, kito.cheng@sifive.com
Subject: Re: [PATCH] gdb: invalidate register cache after monitor commands
Date: Wed, 12 Aug 2026 14:34:48 -0600 [thread overview]
Message-ID: <87wltvulg7.fsf@tromey.com> (raw)
In-Reply-To: <877blxkpau.fsf@redhat.com> (Andrew Burgess's message of "Tue, 11 Aug 2026 09:57:13 +0100")
>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:
Andrew> I don't find any of these example particularly clear. They all kind of
Andrew> hint towards a problem, but it would be nice to have at least one fully
Andrew> explained case.
I wonder also if this conceptually conflicts with your patch "avoid
switching threads for send_packet where possible". In that patch, you
mention an unwinder sending a remote packet during unwinding. If that
packet happens to be a 'monitor' command, then presumably something bad
will happen due to flushing the register cache while unwinding.
Tom
next prev parent reply other threads:[~2026-08-12 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 3:52 Jerry Zhang Jian
2026-08-11 8:57 ` Andrew Burgess
2026-08-12 20:34 ` Tom Tromey [this message]
2026-08-17 3:28 ` Jerry Zhang Jian
2026-08-21 16:44 ` Tom Tromey
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=87wltvulg7.fsf@tromey.com \
--to=tom@tromey.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jerry.zhangjian@sifive.com \
--cc=kito.cheng@sifive.com \
/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