diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-24 00:14:15 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-24 00:14:15 -0800 |
commit | 6ff33a4ee8db483e29bc78b8c35e50342ca60850 (patch) | |
tree | 1461b81f6713a00ef8c4887d3927e81ab1add3d2 /src/target/arm11.h | |
parent | caf827ee8122de66721e62b933b7133df2349c4f (diff) |
ARM11: remove register "history" debug stuff
This was a private mechanism to snapshot registers before leaving
debug state, and then on reentry to optionally display what changed.
It was coupled to the private register cache, which won't be sticking
around in that form for much longer. Remove (instead of teaching
it how to handle *all* the registers).
(The idea is interesting, but we ought to be able to implement
this in a generic way. Ideally through Tcl scripts that can
automatically be invoked following debug entry...)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r-- | src/target/arm11.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h index a67c3371..033ba899 100644 --- a/src/target/arm11.h +++ b/src/target/arm11.h @@ -41,12 +41,6 @@ } \ } while (0) -struct arm11_register_history -{ - uint32_t value; - uint8_t valid; -}; - enum arm11_debug_version { ARM11_DEBUG_V6 = 0x01, @@ -84,9 +78,6 @@ struct arm11_common /*@}*/ - struct arm11_register_history - reg_history[ARM11_REGCACHE_COUNT]; /**< register state before last resume */ - size_t free_brps; /**< keep track of breakpoints allocated by arm11_add_breakpoint() */ size_t free_wrps; /**< keep track of breakpoints allocated by arm11_add_watchpoint() */ |