ARM11: don't expose RDTR

Don't expose the RDTR register through the register cache any
more.  If anyone wants Tcl scripts to be able to use DCC based
communication with app code in the target, this wouldn't do it.

Bugfix:  don't trust the Tcl-accessible version of DSCR to
flag whether RDTR needs to be restored when resuming.
This commit is contained in:
David Brownell
2009-12-02 22:57:07 -08:00
parent 6ec5b9c674
commit 7e18d96d03
2 changed files with 11 additions and 15 deletions

View File

@@ -26,7 +26,7 @@
#include "armv4_5.h"
#include "arm_dpm.h"
#define ARM11_REGCACHE_COUNT 3
#define ARM11_REGCACHE_COUNT 2
#define ARM11_TAP_DEFAULT TAP_INVALID
@@ -62,6 +62,9 @@ struct arm11_common
uint32_t last_dscr; /**< Last retrieved DSCR value;
Use only for debug message generation */
uint32_t saved_rdtr;
bool is_rdtr_saved;
bool simulate_reset_on_next_halt; /**< Perform cleanups of the ARM state on next halt */
/** \name Shadow registers to save debug state */