From 2f7eca470778c8b3ba3da698206f69e27c67e54b Mon Sep 17 00:00:00 2001 From: drath Date: Thu, 26 Apr 2007 14:41:27 +0000 Subject: - improved ETB trace output - use BKPT instruction on cores supporting it (ARM926EJ-S, ARM966E-S) - correctly handle endianness of software breakpoint instruction git-svn-id: svn://svn.berlios.de/openocd/trunk@143 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm926ejs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/target/arm926ejs.c') diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index 8907e113..4d43c17a 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -671,6 +671,10 @@ int arm926ejs_init_arch_info(target_t *target, arm926ejs_common_t *arm926ejs, in /* The ARM926EJ-S implements the ARMv5TE architecture which * has the BKPT instruction, so we don't have to use a watchpoint comparator */ + arm7_9->arm_bkpt = ARMV5_BKPT(0x0); + arm7_9->thumb_bkpt = ARMV5_T_BKPT(0x0) & 0xffff; + + arm7_9->sw_bkpts_use_wp = 0; arm7_9->sw_bkpts_enabled = 1; return ERROR_OK; -- cgit v1.2.3