FreeCalypso > hg > freecalypso-sw
diff gsm-fw/lldbg/entryinfo.c @ 865:f5affe83ba2d
lldbg hack (poor girl's substitute for JTAG) implemented
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 15 May 2015 00:02:03 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/lldbg/entryinfo.c Fri May 15 00:02:03 2015 +0000 @@ -0,0 +1,11 @@ +#include "types.h" + +u32 lldbg_entry_cpsr; +u32 lldbg_entry_sp; + +void +lldbg_cmd_entry() +{ + lldbg_printf("CPSR on entry: %08X\n", lldbg_entry_cpsr); + lldbg_printf("SP on entry after register save: %08X\n", lldbg_entry_sp); +}