Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 03:04:57 -0500
From:      Greg Lehey <grog@lemis.com>
To:        Jim Pirzyk <Jim.Pirzyk@disney.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: gdb and debugging Linux binaries
Message-ID:  <20010222030457.A2624@sydney.worldwide.lemis.com>
In-Reply-To: <01022213560407.44596@snoopy.fan.fa.disney.com>; from Jim.Pirzyk@disney.com on Thu, Feb 22, 2001 at 01:55:07PM -0800
References:  <01022213560407.44596@snoopy.fan.fa.disney.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 22 February 2001 at 13:55:07 -0800, Jim Pirzyk wrote:
>
> I have a 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?

Have you tried the Linux gdb?

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010222030457.A2624>