summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 22:57:08 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 23:08:43 -0800
commitd5e4e23f9a5b1074cd298d5386e638a9fa78b1ad (patch)
treeb25c89f21ccd73cbbcd5aba180deb5f81219631c /src/target/arm11.h
parentf0c3e7011f9a829b518770247d143b1ac612f0f1 (diff)
downloadopenocd+libswd-d5e4e23f9a5b1074cd298d5386e638a9fa78b1ad.tar.gz
openocd+libswd-d5e4e23f9a5b1074cd298d5386e638a9fa78b1ad.tar.bz2
openocd+libswd-d5e4e23f9a5b1074cd298d5386e638a9fa78b1ad.tar.xz
openocd+libswd-d5e4e23f9a5b1074cd298d5386e638a9fa78b1ad.zip
ARM11: don't expose DSCR
Remove the remaining extra copy of DSCR, and the register cache of which it was a part. That cache wasn't a very safe, or even necessary, idea; it was essentialy letting debugger-private state be manipulated by Tcl code that couldn't know how to do it right. This makes the "reg" output of an ARM11 resemble what most other ARM cores produce ... forward motion in the "make ARM11 work like the rest of the ARM cores" Jihad!
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index 1cc09e14..cd528965 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -26,8 +26,6 @@
#include "armv4_5.h"
#include "arm_dpm.h"
-#define ARM11_REGCACHE_COUNT 1
-
#define ARM11_TAP_DEFAULT TAP_INVALID
#define CHECK_RETVAL(action) \
@@ -69,18 +67,6 @@ struct arm11_common
bool simulate_reset_on_next_halt; /**< Perform cleanups of the ARM state on next halt */
- /** \name Shadow registers to save debug state */
- /*@{*/
-
- struct reg * reg_list; /**< target register list */
- uint32_t reg_values[ARM11_REGCACHE_COUNT]; /**< data for registers */
-
- /*@}*/
-
-
- // GA
- struct reg_cache *core_cache;
-
struct arm_jtag jtag_info;
};