From owner-freebsd-hackers Sun Nov 10 11: 8:12 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 2537537B404 for ; Sun, 10 Nov 2002 11:08:11 -0800 (PST) Received: from mhub-m2.tc.umn.edu (mhub-m2.tc.umn.edu [160.94.23.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6540543E3B for ; Sun, 10 Nov 2002 11:08:10 -0800 (PST) (envelope-from ryans@gamersimpact.com) Received: from mhub0.tc.umn.edu (mhub0.tc.umn.edu [128.101.131.40]) by mhub-m2.tc.umn.edu with ESMTP for freebsd-hackers@freebsd.org; Sun, 10 Nov 2002 13:08:08 -0600 (CST) Received: from [128.101.186.124] by mail.tc.umn.edu with ESMTP for freebsd-hackers@freebsd.org; Sun, 10 Nov 2002 13:08:08 -0600 Subject: GDB & Linux binaries. From: Ryan Sommers To: freebsd-hackers@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 10 Nov 2002 13:08:18 -0600 Message-Id: <1036955299.87171.3.camel@lobo> Mime-Version: 1.0 X-Umn-Remote-Mta: [N] mhub0.tc.umn.edu #+LO+TR 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 Is it possible to use GDB on linux binaries? When I try to run the program in GDB I get the following errors: (gdb) run Starting program: /usr/home/ryans/src/bomb/bomb warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. /lib/libc.so.6: No such file or directory. (gdb) 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. Thanks in advance. -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message