diff target-utils/c139-lldbg/entryinfo.c @ 955:d7830aee0d35

c139-lldbg hack concocted
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 20:34:12 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/target-utils/c139-lldbg/entryinfo.c	Wed Nov 04 20:34:12 2015 +0000
@@ -0,0 +1,11 @@
+#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);
+}