FreeCalypso > hg > freecalypso-tools
view target-utils/c139-lldbg/entryinfo.c @ 921:74d284add54d
fc-fsio: guard against bogus readdir results from the target
If the FFS being operated on contains SE K2x0 extended filenames,
readdir will return strings that are bad for printing. We need to
guard against this possibility, and also against possible other
bogosity that could be sent by other alien firmwares.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 31 Dec 2022 22:55:23 +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); }