FreeCalypso > hg > freecalypso-sw
annotate target-utils/c139-lldbg/entryinfo.c @ 971:53114af707f2
rvinterf: both README files are now outdated, moved into doc
as README.old and README.older
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 07 Nov 2015 06:59:51 +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 } |