From fbf5bec7f3ea9f4a9584099a12e71681cb55ce35 Mon Sep 17 00:00:00 2001 From: drath Date: Sun, 6 Aug 2006 11:20:42 +0000 Subject: - fixed a minor problem with the GDB server that could drop the first packet (non-fatal) - fixed some small memory leaks (thanks to Spencer Oliver) - verify chip- and buswidth of cfi flash configurations - added support for ARM966E based systems (tested only with ST micro STR9, thanks to Spencer Oliver) git-svn-id: svn://svn.berlios.de/openocd/trunk@81 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm7tdmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/arm7tdmi.c') diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index f6f0cef7..5f16f71f 100644 --- a/src/target/arm7tdmi.c +++ b/src/target/arm7tdmi.c @@ -644,11 +644,11 @@ void arm7tdmi_build_reg_cache(target_t *target) } if (arch_info->has_monitor_mode) - (*cache_p)->next->reg_list[0].size = 6; + (*cache_p)->next->reg_list[EICE_DBG_CTRL].size = 6; else - (*cache_p)->next->reg_list[0].size = 3; + (*cache_p)->next->reg_list[EICE_DBG_CTRL].size = 3; - (*cache_p)->next->reg_list[1].size = 5; + (*cache_p)->next->reg_list[EICE_DBG_STAT].size = 5; } -- cgit v1.2.3