FreeCalypso > hg > freecalypso-sw
annotate target-utils/c139-lldbg/entryinfo.c @ 982:461f7ee5f254
fc-olddump: brown paper bag
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Dec 2015 05:35:42 +0000 |
parents | d7830aee0d35 |
children |
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 } |