GDB issue

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Bluddy
Posts: 11
Joined: Sun Apr 22, 2007 9:37 pm

GDB issue

Post by Bluddy »

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
Kreationz
Posts: 52
Joined: Sun May 18, 2008 11:01 am

Post by Kreationz »

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)
Post Reply