aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 11:31:32 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 11:31:32 -0800
commit55eeea7fceb67f29c9a43eeb7993c70214157343 (patch)
tree9f6adc4a1d5235ce5b3b9aa9d391ee25f685b971 /src/target/cortex_a8.h
parent03c103d56a3937069a4a6abd02cffabe2f3a6641 (diff)
ARMv7a/Cortex-A8: report watchpoint trigger insn
Save and display the address of the instruction which triggered the watchpoint. Because of pipelining, that's well behind the PC value when debug entry completes. (Example in a subroutine that had been returned from...) Remove unused A8 stuff, mostly watchpoint hooks from the header. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/cortex_a8.h')
-rw-r--r--src/target/cortex_a8.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/target/cortex_a8.h b/src/target/cortex_a8.h
index 3b2c8b16..87db23ec 100644
--- a/src/target/cortex_a8.h
+++ b/src/target/cortex_a8.h
@@ -54,15 +54,6 @@ struct cortex_a8_brp
uint8_t BRPn;
};
-struct cortex_a8_wrp
-{
- int used;
- int type;
- uint32_t value;
- uint32_t control;
- uint8_t WRPn;
-};
-
struct cortex_a8_common
{
int common_magic;
@@ -70,29 +61,16 @@ struct cortex_a8_common
/* Context information */
uint32_t cpudbg_dscr;
- uint32_t nvic_dfsr; /* Debug Fault Status Register - shows reason for debug halt */
- uint32_t nvic_icsr; /* Interrupt Control State Register - shows active and pending IRQ */
/* Saved cp15 registers */
uint32_t cp15_control_reg;
- uint32_t cp15_aux_control_reg;
/* Breakpoint register pairs */
int brp_num_context;
int brp_num;
int brp_num_available;
-// int brp_enabled;
struct cortex_a8_brp *brp_list;
- /* Watchpoint register pairs */
- int wrp_num;
- int wrp_num_available;
- struct cortex_a8_wrp *wrp_list;
-
- /* Interrupts */
- int intlinesnum;
- uint32_t *intsetenable;
-
/* Use cortex_a8_read_regs_through_mem for fast register reads */
int fast_reg_read;