restore ICE watchpoint registers when the *last* software breakpoint is removed
git-svn-id: svn://svn.berlios.de/openocd/trunk@2646 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -47,6 +47,7 @@ typedef struct arm7_9_common_s
|
||||
uint32_t arm_bkpt; /**< ARM breakpoint instruction */
|
||||
uint16_t thumb_bkpt; /**< Thumb breakpoint instruction */
|
||||
int sw_breakpoints_added; /**< Specifies which watchpoint software breakpoints are setup on */
|
||||
int sw_breakpoint_count; /**< keep track of number of software breakpoints we have set */
|
||||
int breakpoint_count; /**< Current number of set breakpoints */
|
||||
int wp_available; /**< Current number of available watchpoint units */
|
||||
int wp_available_max; /**< Maximum number of available watchpoint units */
|
||||
|
||||
Reference in New Issue
Block a user