From: Tom Tromey <tom@tromey.com>
To: Jerry Zhang Jian <jerry.zhangjian@sifive.com>
Cc: Tom Tromey <tom@tromey.com>,
Andrew Burgess <aburgess@redhat.com>,
gdb-patches@sourceware.org, kito.cheng@sifive.com
Subject: Re: [PATCH] gdb: invalidate register cache after monitor commands
Date: Fri, 21 Aug 2026 10:44:34 -0600 [thread overview]
Message-ID: <87mrufqv7x.fsf@tromey.com> (raw)
In-Reply-To: <CAE5PzYKdOCHG3DYJ9HSTSU+9kq4fd6ZQ_Affn88jisD7mwed_g@mail.gmail.com> (Jerry Zhang Jian's message of "Mon, 17 Aug 2026 11:28:48 +0800")
>>>>> "Jerry" == Jerry Zhang Jian <jerry.zhangjian@sifive.com> writes:
Jerry> Tom, I checked the interaction with the related remote-packet
Jerry> change. This patch invalidates the register cache only after the
Jerry> CLI monitor command completes, so it does not run in the middle
Jerry> of an unrelated packet send or unwinding operation.
I mean I suppose the unwinder in theory could invoke a 'monitor'
command.
Though I suppose we could tell people they have to send a raw packet
instead; which isn't so bad since anything like this is pretty
weird/extreme anyway.
Tom
prev parent reply other threads:[~2026-08-21 16:45 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
2026-08-17 3:28 ` Jerry Zhang Jian
2026-08-21 16:44 ` Tom Tromey [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=87mrufqv7x.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