gdb for empeg?

Posted by: canuckInOR

gdb for empeg? - 29/07/2002 23:02

Hi,

Anyone have a pointer to the gdb binary for the empeg? I managed to get a cross-compile toolchain set up (on linux-Alpha, so if there's any one who wants a tarball, let me know), and am hacking -- as in "I'm a complete hack", not "I'm a l33t h4x0r" -- my way through a launcher app to launch items from a hijack menu (so I hope). I have lots of lovely segfaults. I know where, just not why. I need... no, I crave gdb, so I can figure out why...

I've searched about, and the only version I can find requires newer versions of libc than is available on the empeg.

Thanks for any... um... pointers,
A

PS... I got it to work with a single hard-coded app (a modified version of viewer). All I need to do now is make it easy/useful to use... :P
Posted by: wfaulk

Re: gdb for empeg? - 29/07/2002 23:09

I tried several times and gave up. Just figure out what sort of data you'd want and throw some printf()s in there.
Posted by: canuckInOR

Re: gdb for empeg? - 30/07/2002 00:44

I think we're in luck, then... I just found the Zaurus Open Source Development page on Sourceforge. They have gdb 5.1.1 for ARM. I downloaded it, and gave it a try. The only complaint I got was that it couldn't find libncurses.so.4. The empeg uses libncurses.so.5. After doing a ln -s libncurses.so.5 libncurses.so.4, gdb worked. Slowly, but it worked.

Cheers,
A
Posted by: genixia

Re: gdb for empeg? - 30/07/2002 20:50

Yeah, one of friends was over today with his Zaurus, and that got me thinking about checking out their development page for small ARM binaries...