From fae838b025f11aca2c8835ec3b27f9d567a52226 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 22 Mar 2011 20:55:58 +0800 Subject: continue execution wip Work in Progress to implement GDB Continue Execution --- Debugger/debug_stub.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Debugger/debug_stub.h') 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 */ /*@}*/ -- cgit v1.2.3