On Thu, Aug 27, 2009 at 12:15 PM, Spencer Oliver<[email protected]> wrote:
>
>> I got some pointers from Michael Bruck in email and was
>> able to put together the attached patch w/single stepping
>> support for arm11 hardware that does not support single
>> stepping in hardware, e.g. i.MX31.
>>
>> Are there any downsides to always simulating the instruction
>> to calculate next PC and using that as a breakpoint, as oposed
>> to using the hardware single stepping capability?
>>
>> Objections?
>>
>
> surely we would want to use the hardware single step if available -

Why? That creates an additional code path and is harder to test.

> this is what we do for arm9.
> Is there no way to detect the i.MX31 ?

I don't know.



-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to