From owner-freebsd-hackers Tue Nov 12 21:56:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ADDD37B401 for ; Tue, 12 Nov 2002 21:56:18 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D5E843E3B for ; Tue, 12 Nov 2002 21:56:16 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gAD5u00N026493; Tue, 12 Nov 2002 21:56:01 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gAD5uLNr002815; Tue, 12 Nov 2002 21:56:22 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gAD5uGIs002814; Tue, 12 Nov 2002 21:56:16 -0800 (PST) (envelope-from marcel) Date: Tue, 12 Nov 2002 21:56:16 -0800 From: Marcel Moolenaar To: soralx@cydem.zp.ua Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: GDB & Linux binaries. Message-ID: <20021113055616.GA2763@dhcp01.pn.xcllnt.net> References: <1036955299.87171.3.camel@lobo> <1036982165.1968.7.camel@chowder.localdomain> <200211101944.21609.soralx@cydem.zp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211101944.21609.soralx@cydem.zp.ua> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 07:44:21PM -0700, soralx@cydem.zp.ua wrote: > > > I'm guessing this is because the linux libc library file is in > > > /usr/compat/linux/lib, how do I get GDB to use it instead? Or is it even > > > possible. > > That's interesting. I already asked similar question here, on freebsd-hackers@, > but was immediately sent to freebsd-questions@, where I didn't get any answer. :) freebsd-emulation@ is the place to go, really. > > I believe you can install the linux_devtools* port and get gdb for > > Linux. > > There is also linux_kdump which groks ktrace output from linux binaries. > I tried Linux 'gdb' - it doesn't break on breakpoints; is says that ptrace() > syscall is not implemented. Linux RedHAT 7.2 emulation + 'linux_devtools'. You're running -stable, right? See i386/33300. Gordon stacked it on my plate. I'm very much focussed on getting FreeBSD/ia64 in a releasable state so I might not get to it soon, but it'll be done... eventually :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message