| View previous topic :: View next topic |
| Author |
Message |
Bluddy
Joined: 22 Apr 2007 Posts: 17
|
Posted: Wed Sep 30, 2009 1:55 am Post subject: GDB issue |
|
|
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 |
|
| Back to top |
|
 |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Wed Sep 30, 2009 11:07 am Post subject: |
|
|
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) |
|
| Back to top |
|
 |
|