]> git.sur5r.net Git - openocd/commit
ARM DPM: support adding/removing HW breakpoints
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:32:34 +0000 (14:32 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:32:34 +0000 (14:32 -0800)
commita299371a9ec109da3851cb43aed3e9157d095358
tree3979c75b585bbf9c797b1cb876563c04fc96e479
parent27c068c1f82423a2492899d1632caaa6f8261810
ARM DPM: support adding/removing HW breakpoints

Generalize the core of watchpoint setup so that it can handle
breakpoints too.  Create breakpoint add/remove routines which
will use that, and hook them up to target types which don't
provide their own breakpoint support (nothing, yet).

This suffices for hardware-only breakpoint support.  The ARM11
code will be able to switch over to this without much trouble,
since it doesn't yet handle software breakpoints.  Switching
Cortex-A8 will be a bit more involved.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_dpm.c