From: Richard Henderson <richard.henderson@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org, "Akihiko Odaki" <akihiko.odaki@daynix.com>,
"Gustavo Bueno Romero" <gustavo.romero@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"open list:ARM TCG CPUs" <qemu-arm@nongnu.org>
Subject: Re: [RFC PATCH] gdbstub: Re-factor gdb command extensions
Date: Wed, 17 Jul 2024 07:53:01 +1000 [thread overview]
Message-ID: <afa432f7-ed06-4074-8849-796984be0bc5@linaro.org> (raw)
In-Reply-To: <87cyndgtui.fsf@draig.linaro.org>
On 7/17/24 02:55, Alex Bennée wrote:
>> Are you expecting the same GdbCmdParseEntry object to be registered
>> multiple times? Can we fix that at a higher level?
>
> Its basically a hack to deal with the fact everything is tied to the
> CPUObject so we register everything multiple times. We could do a if
> (!registerd) register() dance but I guess I'm thinking forward to a
> hydrogenous future but I guess we'd need to do more work then anyway.
Any chance we could move it all to the CPUClass?
r~
next prev parent reply other threads:[~2024-07-16 21:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 11:42 [RFC PATCH] gdbstub: Re-factor gdb command extensions Alex Bennée
2024-07-16 12:42 ` Gustavo Romero
2024-07-16 13:48 ` Alex Bennée
2024-07-16 14:09 ` Peter Maydell
2024-07-16 15:13 ` Gustavo Romero
2024-07-16 16:33 ` Richard Henderson
2024-07-16 16:55 ` Alex Bennée
2024-07-16 21:53 ` Richard Henderson [this message]
2024-07-17 8:24 ` Alex Bennée
2024-07-17 12:59 ` Peter Maydell
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=afa432f7-ed06-4074-8849-796984be0bc5@linaro.org \
--to=richard.henderson@linaro.org \
--cc=akihiko.odaki@daynix.com \
--cc=alex.bennee@linaro.org \
--cc=gustavo.romero@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=philmd@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).