From 6c27550f6e6b6ae84a43f9d73df6d0f6801581ea Mon Sep 17 00:00:00 2001 From: ntfreak Date: Fri, 12 Dec 2008 22:14:21 +0000 Subject: - check cortex_m3 FPB is enabled when setting hardware breakpoint - Thanks Igor Skochinsky git-svn-id: svn://svn.berlios.de/openocd/trunk@1231 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/cortex_m3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/target/cortex_m3.h') diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index 4b2c235c..bce8dd89 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -145,14 +145,15 @@ typedef struct cortex_m3_common_s u32 nvic_dfsr; /* Debug Fault Status Register - shows reason for debug halt */ u32 nvic_icsr; /* Interrupt Control State Register - shows active and pending IRQ */ - /* Flash Patch and Breakpoint */ + /* Flash Patch and Breakpoint (FPB) */ int fp_num_lit; int fp_num_code; int fp_code_available; + int fpb_enabled; int auto_bp_type; cortex_m3_fp_comparator_t *fp_comparator_list; - /* DWT */ + /* Data Watchpoint and Trace (DWT) */ int dwt_num_comp; int dwt_comp_available; cortex_m3_dwt_comparator_t *dwt_comparator_list; -- cgit v1.2.3