From owner-freebsd-hackers Sat Jan 31 17:02:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA13662 for hackers-outgoing; Sat, 31 Jan 1998 17:02:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from atlantis.eunet.at (a064.static.Vienna.AT.EU.net [193.154.186.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA13644 for ; Sat, 31 Jan 1998 17:02:47 -0800 (PST) (envelope-from hfwirth@eunet.at) Received: from atlantis (localhost.ping.at [127.0.0.1]) by atlantis.eunet.at (8.8.8/8.6.12) with SMTP id CAA20972; Sun, 1 Feb 1998 02:02:19 +0100 (MET) Message-ID: <34D3C99B.41C67EA6@eunet.at> Date: Sun, 01 Feb 1998 02:02:19 +0100 From: "Helmut F. Wirth" X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: pgiffuni@fps.biblos.unal.edu.co CC: hackers@FreeBSD.ORG Subject: Can't get Linux-gdb (from ports collection) to work Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" 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