qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] target-arm: Clean up DISAS_UPDATE usage in A


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] target-arm: Clean up DISAS_UPDATE usage in AArch32 translation code
Date: Sun, 15 Nov 2015 21:43:23 +0000

On 15 November 2015 at 20:30, Sergey Fedorov <address@hidden> wrote:
> On 14.11.2015 22:45, Peter Maydell wrote:
>> On 13 November 2015 at 21:13, Sergey Fedorov <address@hidden> wrote:
>>> Thank you a lot for your explanation! It was really helpful for
>>> understanding the code :) One thing I wasn't sure of was whether this
>>> "dc->condjmp = 0" means that "condition failed" codepath below will also
>>> generate an exception whereas it shouldn't?
>> You want a singlestep exception for both conditional-insn
>> failed and conditional-insn passed (either way we've executed
>> the instruction and should return control to the debugger).
>
> To be clear, I mean SWI/HVC/SMC exceptions could be generated when
> singlestepping through a conditional-insn failed codepath.

When I read through the code earlier I thought that wasn't possible,
but rereading it I see what you mean. I wonder if we introduced
that accidentally adding some of the extra features along the
way or if it's always been wrong like that...

thanks
-- PMM



reply via email to

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