How to debug the procnto crash

How can i debug the following crash.Any way i can do it from GDB or IDE.
I am trying to port an application which runs fine on x86 , on to mipsle.I
am sucessful in getting the basic OS ie shell.
Once i run my application “mgr” after some time i get the following on the
console & the system Hangs.
What might be the problem.? I suspect Alignment issue? If so how to overcome
it.? Any workaround?
Or is it any other problem?
Reagrds


Shutdown[0,0] S/C/F=5/1/3 C/D=800395c0/80089678 state(c00)= now lock

[0]PID-TID=1-7? P/T FL=00019001/04020000 “proc/boot/procnto”

[0]ASPACE PID=90122 PF=00000000 “myem/bin/mgr”

mipsle context[80013e00]:

0000: 00000000 00000000 80080190 ffffffff 0000001c 00000000 0000000a
00000000

0020: 81276000 ffffffff 0000000a 00000000 0000000a 00000000 00000000
00000000

0040: b0060100 ffffffff 00000004 00000000 00000010 00000000 00000000
00000000

0060: 0149e000 00000000 00000000 00000000 000000a1 00000000 00000400
00000000

0080: 0000149e 00000000 00000000 00000000 39f06000 00000000 8127a1b0
ffffffff

00a0: 0149e000 00000000 00000000 00000000 00000301 00000000 00000001
00000000

00c0: 34000400 00000000 34000401 00000000 61205d30 61682074 696c2074
3420656e

00e0: 80088340 ffffffff 80013f38 ffffffff 00000001 00000000 8005fe28
ffffffff

0100: 34000403 ffffffff 00000000 00000000 00000004 00000000 7033c0d0
00000000

0120: 00808024 000004a0 8005fe30 ffffffff

instruction[8005fe30]:

44 19 82 8f 14 00 42 8c 03 00 40 14 00 00 00 00 c6 63 01 0c 01 00 04 24 80
1b

stack[80013f38]:

0000: 80089ea0 00000000 00000000 80088820 000001e6 ffffffff 800361e4
800113d8

0020: 80039d14 00000000 8000c120 80011b10 8008ae48 ffffffff 00000010
00000001

0040: 08017ed0 08017e08 00000002 8001f05c 8008e2b8 00000000 39f06000
00000000

0060: 0149e000 00000000 00000301 00000001 02702000 80035efc 800113c8
00000000

Regards

PS: Cross posted to qnxrtp.mips