FreeCalypso > hg > freecalypso-sw
annotate target-utils/c139-lldbg/entryinfo.c @ 1031:6312f684cef1
gsm-fw feature tch-reroute: byte order changed to big endian
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 31 May 2016 18:50:32 +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 } |