simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] [PATCH] Add BREAK-instruction, causes simulavr to h


From: Stan Behrens
Subject: Re: [Simulavr-devel] [PATCH] Add BREAK-instruction, causes simulavr to halt.
Date: Thu, 05 Jan 2012 22:52:19 +0100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

Hi Petr,

On 05/01/12 21:39, Petr Hluzín wrote:
> Why does your patch add instructionBREAKJustExecuted to AvrDevice and
> then have the if() condition in AvrDevice::Step()?
> It would be easier to do the tracing in avr_op_BREAK::operator()() and
> return BREAK_POINT. Function AvrDevice::Step() and class AvrDevice
> would be left as is.
Yeah, this was what the first version of my patch did. I had to change
that, because the PC was not incremented this way. Result was, your
stuck at BREAK forever once you reach it.

Bye, Stan.



reply via email to

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