qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AArch64 semihosting?


From: Liviu Ionescu
Subject: Re: AArch64 semihosting?
Date: Thu, 26 May 2022 14:03:03 +0300


> On 26 May 2022, at 13:01, Peter Maydell <peter.maydell@linaro.org> wrote:
> 
> Yes, I can reproduce this.

Ok, it seems you diagnosed it pretty quickly, great!

> Did you intend to pass '-s' (allow gdbstub connection) but not
> '-S' (wait on startup for gdb to connect and say "continue"),
> by the way?

Oops! I forgot about this. I'll switch to -S.

> The failure to honour the 'target=native' option ... you can work around it

> by always providing just one --semihosting-config option, like this:
> --semihosting-config enable=on,target=native,arg=sample-test,arg=one,arg=two

Right, thank you for the suggestion.

> I don't think any of this ought to be target-specific, so perhaps
> the command line you use for 32-bit arm is slightly different
> and avoided the bug by good fortune ?

If I think again, this might explain some previous weird behaviours that I 
experimented a while ago.

For production tests I do not use the gdb server configuration, and semihosting 
was functional even with two options.

So yes, it was good fortune.

If you fix the bug, could you notify me when ready, to make a new xPack release?


Thank you,

Liviu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]