Date: Mon, 02 Feb 1998 17:25:38 +0100 From: "Helmut F. Wirth" <hfwirth@eunet.at> To: hackers@FreeBSD.ORG Cc: emulation@FreeBSD.ORG Subject: Cross debugging Linux programs on FreeBSD works! Message-ID: <34D5F382.41C67EA6@eunet.at>
next in thread | raw e-mail | index | archive | help
Hello ! To all interested parties: I have a solution for debugging Linux programs under FreeBSD. I will give a short description here, because the recent discussion was in hackers too. Look for more in emulation or send an email to me: What I did: According to John Polstra's newer instructions I installed the binutils-2.8.1 and built his elfkit. This step is useful, but not neccessary. What you need in any case are the binutils-2.8.1. I configured them for i386-unknown-freebsdelf. With some small patches (rather hacks) I am able to build the FreeBSD-current sources of gdb in a fresh directory for debugging of native FreeBSD programs in ELF binary format and for debugging Linux ELF binaries, including shared libs. Please keep in mind, that this solution is *not well tested* !! But it seems to work! For detailed instructions and more please refer to emulation@freebsd.org If somebody is willing to contribute free space on a ftp-server I will download the binaries for linux-gdb and elf-gdb Regards Helmut -- Helmut F. Wirth Email: hfwirth@ping.at
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34D5F382.41C67EA6>