View Full Version : iLiad Debugging and the iLiad


scotty1024
10-23-2006, 12:34 AM
To turn on core dumps:

ulimit -c unlimited

Then you can:

scp core me@mytoolchain.com:.

Or you can install gdb and do it in place or remotely using gdbserver: http://www.killefiz.de/zaurus/showdetail.php?app=450
You will need ncurses from here http://www.dasgehtdichnichtsan.de/zaurus/libncurses_5.0_arm.ipk and then install it into /lib. (this one was fun to chase down let me tell you)

I grabbed OpenSSH to have local ssh tools: http://handheld.softpedia.com/progDownload/OpenSSH-Download-17219.html

arivero
10-23-2006, 11:42 AM
http://packages.debian.org/unstable/utils/ltrace and ptrace, besides gdb, can be useful things. I remember at least one ot two (either ptrace or ltrace) worked in the librie out of the box.

EDITED: hmm this version of ltrace will not run straightfoward in the iLiad, which has libc-2.3.3

scotty1024
10-23-2006, 03:43 PM
That's because you're playing around in unstable. :)

I've assembled a debian native GCC 3.3.5 toolchain for my iLiad. I'll post it tonight via one of the file share sites.

This is a very nice upgrade from the 2.9.5 toolchain's available before. And is very close to the toolchain iRex is using themselves (3.3.3).