On Wednesday 26 August 2009, Øyvind Harboe wrote:
> > If anything, they should be *more* separate.
> >
> > The whole simulator bears some thought though.  Is the whole
> > point of it just to enable one type of single stepping?  I
> > don't recall seeing comments about when/why the simulator
> > would kick in.
> 
> Single stepping instructions is done by doing a "dry run"
> of the current instruction to see what PC it ends up at. A
> breakpoint is then set at that site and the CPU runs
> to the next instruction.

Right, and is that the only reason to have the simulator?
I never really had to poke at the simulator.  

 
> some arm11 CPUs can use hardware to perform this
> function, but i.MX31 can't.

Likewise some armv4 and armv5 cores have singlestep
hardware support in their EmbeddedICE modules.

Does i.MX31 have one of the cores which extends Thumb
with new instructions?  I'm not sure they're all fully
supported for use by the simulator.  Worth looking at
once you have the ARM instructions behaving.  :)

- Dave

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to