annotate target-utils/c139-lldbg/entryinfo.c @ 958:4bbe1db8efbe

c139-lldbg: dump command added
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 20:52:26 +0000
parents d7830aee0d35
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
955
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 #include "types.h"
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 u32 lldbg_entry_cpsr;
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 u32 lldbg_entry_sp;
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 void
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 cmd_entryinfo()
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 {
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 printf("CPSR on entry: %08X\n", lldbg_entry_cpsr);
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 printf("SP on entry after register save: %08X\n", lldbg_entry_sp);
d7830aee0d35 c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 }