From: Peter Maydell <peter.maydell@linaro.org>
To: Christopher Covington <cov@codeaurora.org>
Cc: Liviu Ionescu <ilg@livius.net>, QEMU Developers <Qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] runtime configurable semihosting
Date: Thu, 13 Nov 2014 17:52:06 +0000 [thread overview]
Message-ID: <CAFEAcA-dPHhJ-xJMJSu7DkUeZDyXVh4GT6HCfoJjkOYTZN2kPw@mail.gmail.com> (raw)
In-Reply-To: <5464EEF3.7040700@codeaurora.org>
On 13 November 2014 17:48, Christopher Covington <cov@codeaurora.org> wrote:
> Hi Liviu,
>
> On 11/12/2014 02:17 PM, Liviu Ionescu wrote:
>>
>>> semihosting ... be runtime configurable on this, I think.
>>
>> I took a quick look at the syntax of command options and monitor commands, and I would suggest the following:
>>
>> - extend the option "-semihosting" with an optional "target=native|gdb|auto", default auto
>>
>> - if necessary, add a monitor command "semihosting target=native|gdb|auto", default auto
>>
>> any comments?
>
> How do these targets change the existing behavior?
Our current behaviour is "auto", which means "send semihosting
commands via gdb if and only if the gdbstub has a gdb connected
when the first semihosting command is made by the guest". "native"
would mean "handle semihosting ourselves even if there's a gdb
connected". I'm not sure how useful "gdb" is as distinct from
"auto" (what do you do with the semihosting requests if no
gdb is connected in this case?).
-- PMM
next prev parent reply other threads:[~2014-11-13 17:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-12 19:17 [Qemu-devel] runtime configurable semihosting Liviu Ionescu
2014-11-13 9:44 ` Liviu Ionescu
2014-11-18 13:31 ` Peter Maydell
2014-11-18 16:46 ` Liviu Ionescu
2014-11-18 16:59 ` Peter Maydell
2014-11-13 17:48 ` Christopher Covington
2014-11-13 17:52 ` Peter Maydell [this message]
2014-11-13 21:23 ` Liviu Ionescu
2014-11-13 21:38 ` Liviu Ionescu
2014-11-13 21:38 ` Peter Maydell
2014-11-13 21:51 ` Liviu Ionescu
2014-11-13 22:16 ` Peter Maydell
2014-11-13 22:23 ` Liviu Ionescu
2014-11-13 23:16 ` 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=CAFEAcA-dPHhJ-xJMJSu7DkUeZDyXVh4GT6HCfoJjkOYTZN2kPw@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=Qemu-devel@nongnu.org \
--cc=cov@codeaurora.org \
--cc=ilg@livius.net \
/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).