I have some stuff GDB could really help me with. Low level debugging with the shell is becoming a pain.
I tried to set it up with eclipse the way that is described on the minpspw site. I also compiled my ELF with -g. However, what I get is that my threads are stuck in a running state, while I see nothing actually running on the psp. If I try to suspend any thread, GDB server crashes.
Anyone know what the issue could be? Is it possible GDB has to have a PRX so it can relocate it after the GDB server?
Thanks in advance,
Bluddy
GDB issue
You are loading psp-gdb with your *.elf file as the command line switch correct?
Example:(myapp is the name of your app)
In psplink the command is: debug myapp.prx
Then start psp-gdb like this: psp-gdb myapp.elf
then in psp-gdb: target remote:10001
then: c
Your app should now be running....
Not sure if it needs a prx, but I believe so... (never tried it without one)
Example:(myapp is the name of your app)
In psplink the command is: debug myapp.prx
Then start psp-gdb like this: psp-gdb myapp.elf
then in psp-gdb: target remote:10001
then: c
Your app should now be running....
Not sure if it needs a prx, but I believe so... (never tried it without one)