From owner-freebsd-questions Wed Feb 21 10:39:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id A9A5537B503 for ; Wed, 21 Feb 2001 10:39:17 -0800 (PST) (envelope-from Jim.Pirzyk@disney.com) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f1LIcmc23982 for ; Wed, 21 Feb 2001 10:38:48 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP for freebsd-questions@freebsd.org; Wed, 21 Feb 2001 10:39:53 -0800 Received: from mercury.fan.fa.disney.com (mercury.fan.fa.disney.com [153.7.119.1]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id KAA01518 for ; Wed, 21 Feb 2001 10:39:15 -0800 (PST) (envelope-from Jim.Pirzyk@disney.com) Received: from snoopy.fan.fa.disney.com by mercury.fan.fa.disney.com for freebsd-questions@freebsd.org; Wed, 21 Feb 2001 10:39:15 -0800 From: Jim Pirzyk Organization: Walt Disney Feature Animation To: freebsd-questions@freebsd.org Subject: gdb and debugging Linux binaries Date: Wed, 21 Feb 2001 10:37:25 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <01022110391503.27264@snoopy.fan.fa.disney.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have another question on how to debug Linux binaries. I have a core file from the linux binary, but if I use the FreeBSD gdb, it cannot find the shared libraries in /compat/linux/.... If I use the /compat/linux/ /usr/bin/gdb, it says the core file is in the wrong format: Couldn't fetch registers from core file: File in wrong format Couldn't fetch register set 2 from core file: File in wrong format So what is the correct procedure for debugging Linux binaries? - JimP -- --- @(#) $Id: dot.signature,v 1.9 2000/07/10 16:43:05 pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------------------------------- _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message