BTW I wanted to share my setup a bit:
I'm creating qemu-arm-static chroots with:
sudo qemu-debootstrap --arch=armel --variant=minbase sid sid-armel http://mirror/debian
and chrooting into them with plain "chroot sid-armel /bin/bash" to build + run binaries.
To debug, I'm using the armel cross gdb package at http://hudson.dooz.org/job/armel-gdb/; in the chroot I launch:
qemu-arm-static -g 1234 /usr/bin/dpkg-query -l
and I run arm-linux-gnueabi-gdb /chroot/usr/bin/dpkg-query, and then "target remote 127.0.0.1:1234" and "c" to start the program; since I build dpkg with nostrip, I get debug symbols in this gdb session
BTW I wanted to share my setup a bit: mirror/ debian
I'm creating qemu-arm-static chroots with:
sudo qemu-debootstrap --arch=armel --variant=minbase sid sid-armel http://
and chrooting into them with plain "chroot sid-armel /bin/bash" to build + run binaries.
To debug, I'm using the armel cross gdb package at http:// hudson. dooz.org/ job/armel- gdb/; in the chroot I launch:
qemu-arm-static -g 1234 /usr/bin/dpkg-query -l
and I run arm-linux- gnueabi- gdb /chroot/ usr/bin/ dpkg-query, and then "target remote 127.0.0.1:1234" and "c" to start the program; since I build dpkg with nostrip, I get debug symbols in this gdb session