Finally got GDB working with threads on the GP2X:
http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,1,1655
Hope someone finds this handy (people tinkering with mplayer, that's you).
It's included in libmpdemux which is used my GPH's mplayer, yes. There's a couple of checks to see if the given file is indeed a file that would need to be bypassed, and seeking would be horribly broken.
I've patched mplayer to support loading a file from the command line instead of having to select it from the blue file selection screen:
http://wiki.gp2x.org/wiki/MPlayer
I'd like to do a lot more, however, debugging the threaded core is a right bastard as the GDB binary on the archive won't...
Use the official SDK toolchain to build. This avoids:
a ) having to make it static
b ) having to compile the exact same libs as GPH used (SDL_inifile, libmad, tremor etc)
c ) hassle
hwEq_change() may need a prototype sticking in somewhere
Edit config.mak to point to the compiler/toolchain...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.