]> git.sur5r.net Git - openocd/commit
ARM DPM: support updating HW breakpoints
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 11 Dec 2009 23:26:10 +0000 (15:26 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 11 Dec 2009 23:26:10 +0000 (15:26 -0800)
commit75c706cc043183d98592dbe3c6f170d627849d0f
tree4cb1ab35d34e372a3e21826a121f575c479c1b40
parent838d41af29c0b703fd55ebb5c3aebcb4e0bea460
ARM DPM: support updating HW breakpoints

Abstract the DPM breakpoint and watchpoint data structures to
have a shared core for housekeeping.

Abstract the code updating the watchpoint registers so that it
can be used to update breakpoint registers.  Then do so, when
something has set up the breakpoint state used by this code.

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