aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-22 20:55:58 +0800
committerTat-Chee Wan (USM)2011-03-22 20:55:58 +0800
commitfae838b025f11aca2c8835ec3b27f9d567a52226 (patch)
tree412392c86339bf65315d3bec24848586724a4527 /Debugger/debug_stub.h
parentb66fd09e34c9a720acd5367eb7658456417a8c3b (diff)
continue execution wip
Work in Progress to implement GDB Continue Execution
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 85ff22a..dd71a16 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -147,6 +147,7 @@
#define DBGSTACK_NEXTINSTR_INDEX 0 /* Next Instruction Address is at index 0 from bottom of Debug Stack */
#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_USERCPSR_OFFSET (DBGSTACK_USERCPSR_INDEX-DBGSTACK_USERREG_INDEX) /* = -1, offset for calculating Debug Stack index */
/*@}*/