From owner-freebsd-hackers Sun Nov 10 18:44:39 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 C508737B401 for ; Sun, 10 Nov 2002 18:44:38 -0800 (PST) Received: from 002.216-123-229-0.interbaun.com (002.216-123-229-0.interbaun.com [216.123.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E6DC43E4A for ; Sun, 10 Nov 2002 18:44:35 -0800 (PST) (envelope-from soralx@cydem.zp.ua) Received: from 254.216-123-229-0.interbaun.com (vasya [192.168.0.3]) by 002.216-123-229-0.interbaun.com (8.11.6/8.11.6) with ESMTP id gAB2iW602398 for ; Sun, 10 Nov 2002 19:44:33 -0700 (MST) (envelope-from soralx@cydem.zp.ua) Content-Type: text/plain; charset="iso-8859-1" From: To: freebsd-hackers@FreeBSD.ORG Subject: Re: GDB & Linux binaries. Date: Sun, 10 Nov 2002 19:44:21 -0700 X-Mailer: KMail [version 1.4] References: <1036955299.87171.3.camel@lobo> <1036982165.1968.7.camel@chowder.localdomain> In-Reply-To: <1036982165.1968.7.camel@chowder.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211101944.21609.soralx@cydem.zp.ua> 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 > > 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. :) > 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'. 10.11.2002; 19:40:41 [SorAlx] http://cydem.zp.ua/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message