Here is my exception im getting:
Code: Select all
Exception - Bus error (data)
Thread ID - 0x04934F21
Th Name - user_main
Module ID - 0x04951C33
Mod Name - TEST~ING
EPC - 0x08902EC8
Cause - 0x0000001C
BadVAddr - 0x1759D188
Status - 0x20008613
zr:0x00000000 at:0x0008FF00 v0:0x00000000 v1:0x08A46C98
a0:0x9D000200 a1:0x00000200 a2:0x48946BF4 a3:0x00CB4813
t0:0xFFBFFFFF t1:0xFFFFFFFF t2:0x88065A40 t3:0x00000030
t4:0x09EFF810 t5:0x00001E04 t6:0x08905604 t7:0x00008600
s0:0x00000000 s1:0x09EFFE34 s2:0x00000001 s3:0x09EFFEE0
s4:0x0000001F s5:0x00000013 s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x000006C0 t9:0x00000001 k0:0x09EFFF00 k1:0x00000000
gp:0x089494D0 sp:0x09EFF830 fp:0x09EFF830 ra:0x08902EC4
I have used the BadVAddr with psp-addr2line using this command and recieving this result:
Code: Select all
$ psp-addr2line -f -e TESTING.elf 0x1759D188
??
??:0
Code: Select all
$ psp-addr2line -f -e TESTING.elf 0x08902EC4
blitAlphaImageToScreen
??:0
So could someone enlighten me? Thanks.
EDIT
Well, another elf popped out when compiling so i used that one, and i have recieved this from using the RA offset:
Code: Select all
$ psp-addr2line -f -e psp.elf 0x08902EC4
drawLine
graphics.c:0
EDIT
Wow.... I think i found the issue... The drawline function was a static void?!? I removed the static (since a void cant be static since it doesnt return a value) hope it works!