Date: Thu, 22 Feb 2001 13:55:07 -0800 From: Jim Pirzyk <Jim.Pirzyk@disney.com> To: freebsd-hackers@freebsd.org Subject: gdb and debugging Linux binaries Message-ID: <01022213560407.44596@snoopy.fan.fa.disney.com>
next in thread | raw e-mail | index | archive | help
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?
- 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-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01022213560407.44596>
