On Mon, Dec 14, 2009 at 9:29 AM, David Brownell <davi...@pacbell.net> wrote: > On Sunday 13 December 2009, Ųyvind Harboe wrote: >> > Recent ARMs don't share the "just two breakpoint/watchpoint units" >> > restriction of ARM7/ARM9 EmbeddedICE. >> > >> > Example, Cortex A8 and ARM11 have 6 breakpoints, 2 watchpoints. >> > Cortex M3 has 6 breakpoints (flash only), 4 watchpoints. >> >> I was meaning to have a serious look at this work. Did see my >> idea on masks for breakpoint/watchpoints? >> >> http://lists.berlios.de/pipermail/openocd-development/2009-October/011507.html > > Just now. I'm not clear what a "mask" would be though ... > as in, what's different from the current notion of masks? > That's fairly specific to the ARM7/ARM9 EmbeddedICE; it's > only used in conjunction with a value, for "trigger debug > entry when writing <value X> to the address".
Or you can also use it to set a breakpoint on a range of addresses. Specifically this can be useful to e.g. catch breakpoints to *all* vectors. I know it's used for evil user/kernel mode debugging tricks, but I don't know the details. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 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