Perhaps you can add a polymorphism hook where the
current behavior for handling software breakpoints
is the default?


You can then do something before or after by
"subclassing" the current behavior and if needed
copy and paste and modify if the behavior is sufficiently
different that it makes more sense.

Some of the arm9 targets do it this way, except that
they mess around with type->write_buffer() which
is a bit kludgy.


-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to