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!
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user