David Brownell wrote:
> On Monday 18 January 2010, Spencer Oliver wrote:
>> Skip over a bkpt instruction if found on resume/step.
> 
> This is a bugfix for RAM-based code, yes?
> 
> 

flash or ram, most semi hosting code would be in flash however.
I am updating the arm semihosting to support armv7m (cortex_m3).

So far it is working well, the issues i have are todo with win32 host :)

>> +int armv7m_check_bkpt_inst(struct target *target)
> 
> This name leaves a lot to be desired.  How about
> using "maybe_skip" instead of "check"?
> 
> And this isn't returning a fault code if it can't
> read the instruction... it should do that.
> 

i do need to make another tweak as the step instruction does not 
actually need todo anything - the pc gets changed by openocd so the 
actual hardware step is not needed.

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

Reply via email to