Date: Sat, 24 Feb 2001 14:35:03 +1030 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Greg Lehey <grog@lemis.com> Cc: freebsd-hackers@FreeBSD.org, Jim Pirzyk <Jim.Pirzyk@disney.com> Subject: Re: gdb and debugging Linux binaries Message-ID: <XFMail.010224143503.doconnor@gsoft.com.au> In-Reply-To: <20010222030457.A2624@sydney.worldwide.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-Feb-01 Greg Lehey wrote: > > /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? He said he did. The problem is the binary is in linux format but the coredump is in FreeBSD format.. You can still attach to processes etc though I think. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum 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?XFMail.010224143503.doconnor>