[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: could use some help debugging an unexpected emulator exit
From: |
Peter Maydell |
Subject: |
Re: could use some help debugging an unexpected emulator exit |
Date: |
Fri, 24 Jan 2020 09:24:53 +0000 |
On Thu, 23 Jan 2020 at 20:44, Andrew Boie <address@hidden> wrote:
> 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.
Sort of -- if you write value X to th debug exit port, QEMU
with exit with status (X << 1) | 1. So you can exit with
any status you like, as long as it's an odd number :-)
-- PMM