The arm7_9 sw_bpkts fails if the target is not halted.

This is a problem when writing configuration scripts.

I find the configuration of breakpoints a bit confusing and I'm wondering
if we couldn't define an way of handling this that covers
all common cases in a less confusing manner.

- auto - try sw breakpoint and if we fail to write to that memory location,
use hw breakpoint
- sw - only software breakpoints
- hw - only hw breakpoints


Is there a need for anything more?

Do we really need to make the breakpoint configuration command
target specific?

Can the above or a generic command like it be good enough for
just about all cases for all targets?

A generic breakpoint configuration command and finer control
w/special target commands are not mutually exclusive.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to