I am trying to resolve the exception I receive (see my post http://forums.ps2dev.org/viewtopic.php?p=76524#76418). I have setup the PSPLINK and all the other stuff needed. However I cannot seem to get debugger running the target.
usbhostfs_pc is up and running. in pspsh I load my PRX:
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=psp"...
(gdb) target remote :10001
Remote debugging using :10001
[New Thread 0]
_start (args=0, argp=0x0) at crt0_prx.c:109
(gdb) run
Starting program: /home/rex/Programming/PSP/libupnp-1.6.6.XX/upnp/test/test_init.elf
Don't know how to run. Try "help target".
(gdb)
What is the problem? I just want to run till a breakpoint to pinpoint the exception source...
thanx for the info - I feel like a complete idiot. I am quite a newbie with Linux debugging tools and I'd swear I saw somewhere I need to 'run' the thing. With your advice I managed it to run (actually I use ddd with psp-gdb) and am approaching the problem spot. It seems to access some array at index of -1 in pthreads-emb ;-) Now to only find why...