FreeCalypso > hg > freecalypso-tools
view target-utils/c139-lldbg/entryinfo.c @ 69:2159f260ed13
fc-tmsh: all commands internally return values
in preparation for adding one-shot mode of operation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 26 Oct 2016 23:17:03 +0000 |
parents | e7502631a0f9 |
children |
line wrap: on
line source
#include "types.h" u32 lldbg_entry_cpsr; u32 lldbg_entry_sp; void cmd_entryinfo() { printf("CPSR on entry: %08X\n", lldbg_entry_cpsr); printf("SP on entry after register save: %08X\n", lldbg_entry_sp); }