aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-23 10:58:40 +0800
committerTat-Chee Wan (USM)2011-03-23 10:58:40 +0800
commit557eb76616e65cd27c3a014796eafd09836b0996 (patch)
treedcd2f076a981f3e4500c822bb30ca6a657781748 /Debugger/debug_stub.h
parentdf3a37772fea4f6f7854100857aa3c1d2766a085 (diff)
modify get and set all regs to handle r0-r15 followed by cpsr
Diffstat (limited to 'Debugger/debug_stub.h')
-rw-r--r--Debugger/debug_stub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index b61735b..7dc9aa8 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -148,6 +148,7 @@
#define DBGSTACK_USERCPSR_INDEX 1 /* User CPSR (SPSR_UNDEF) is at index 1 from bottom of Debug Stack */
#define DBGSTACK_USERREG_INDEX 2 /* R0 starts at index 2 from bottom of Debug Stack */
#define DBGSTACK_USERSP_INDEX (DBGSTACK_USERREG_INDEX + 13) /* SP is R13 */
+#define DBGSTACK_USERPC_INDEX (DBGSTACK_USERREG_INDEX + 15) /* PC is R15 */
#define DBGSTACK_USERCPSR_OFFSET (DBGSTACK_USERCPSR_INDEX-DBGSTACK_USERREG_INDEX) /* = -1, offset for calculating Debug Stack index */
/*@}*/