On Sunday 10 January 2010, Jerry Ling wrote:
>  ... watchpoint_add(target, address, size, type-2, 0, 0xffffffffu) ...

Yeah, why isn't it passing "wp_type", which was already set
up with the right enum value?  It does the right thing for
setting breakpoints, just a couple lines before.  Sigh.

Doing arithmetic with enum values:  always the wrong answer.

- Dave





_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to