Date: Sun, 01 Feb 1998 02:02:19 +0100 From: "Helmut F. Wirth" <hfwirth@eunet.at> To: pgiffuni@fps.biblos.unal.edu.co Cc: hackers@FreeBSD.ORG Subject: Can't get Linux-gdb (from ports collection) to work Message-ID: <34D3C99B.41C67EA6@eunet.at>
next in thread | raw e-mail | index | archive | help
Hello, is anybody using the linuxgdb-4.16 port? I have linux_devel and linux-libs from the ports collection installed and all works fine. I built the linux-gdb from the ports collection and it seems unable to run or attach to a linux program created with linux_devel. I am running freebsd-current. Example: The standard hello.c-> (modload /lkm/linux_mod.o is done before this) >file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (Linux), statically linked, not stripped > >brandelf hello File 'hello' is of brand 'Linux'. > >hello Hello > >linux-gdb hello GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i386-unknown-freebsd3.0 --target i386-linux), Copyright 1996 Free Software Foundation, Inc... (gdb) (gdb)run Starting program: /home/users/hfwirth/work/3dfx/hello Don't know how to run. Try "help target". (gdb) ... If I try to attach to a running linux program, the same thing happens. What am I missing ? Any help appreciated. Thank you 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?34D3C99B.41C67EA6>