Fw 2.0 Remote Debugging


MSweeney

Still Fresh
Joined
Mar 20, 2006
Messages
38
Age
49
Location
Washington, USA (but I still love you)
Website
Visit site
Hello, I am trying to setup remote debugging on my GP2x with Firmware 2.0.

My host environment is Windows XP, and I am using the 30MB 'devkitgp2x' version for development.

Is there any special setup I need to get this working? I am using a USB connection, but I assume with FW 2.0 I should be able to do remote debugging as networking is now working. My biggest concern is of course the difference in architecture, but I am assuming this is workable -- as long as I have the source code and binaries etc on my host I should still be able to setup breakpoints etc.

Anyway I am quite new at all this and am used to Windows Mobile development where debugging is easy as pie ;) (ie:start program, attach to process, step into ARM machine code).

Cheers,

Matt
 
I do it like this:

1) telnet to gp2x

2) run gdb over the telnet connection

If you don't have gdb, leech the gp2x version from the archive.

Yes, gdb is a command line debugger, and doesn't have any kind of (fancy or otherwise) gui.
 
Squidge posted on Apr 28 2006 at 01:55 PM said:
I do it like this:

1) telnet to gp2x

2) run gdb over the telnet connection

If you don't have gdb, leech the gp2x version from the archive.

Yes, gdb is a command line debugger, and doesn't have any kind of (fancy or otherwise) gui.

Great, I was hoping it was that simple and not requiring a custom kernal recompile or anything. Command-line debuggers don't bother me - as long as I can debug to the machine code level Im happy =)

Switching to using gcc over the M$ IDE solution has been the hardest for me, but even so its not about the IDE really - its the functionality of the compiler and linkers etc. that count, and so far I find gcc to be a very capable solution (not to mention free).

Anyway thanks for the tips!
 
Last edited by a moderator:
Back
Top