[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: could use some help debugging an unexpected emulator exit
From: |
Andrew Boie |
Subject: |
Re: could use some help debugging an unexpected emulator exit |
Date: |
Thu, 23 Jan 2020 12:44:00 -0800 |
On Thu, Jan 23, 2020 at 4:12 AM Peter Maydell <address@hidden> wrote:
> What's happening here is that the board you're running on includes
> the "debug exit port" device. The purpose of this device is to
> silently exit with an exit status based on the value written to
> the device, if the guest code writes to it. Your guest code
> wrote to the device, and QEMU exited as requested :-)
That was it! It looked like something else because of configuration
issues with debug printout when the OS took a fatal exception.
Greatly appreciate the help and suggestions about register state
dumping, this is very useful.
Just curious, is there any way to send a value to QEMU for a debug
exit that it will propagate to its exit value to the shell? An xtensa
emulator I worked with let you do this.
Cheers
Andrew