Greg Lehey wrote:
> 
> 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?

IIRC, the Linux gdb doesn't grok our core files. I started an
implementation for our Linuxulator to dump Linux compatible core files
so that you could use the Linux gdb. I guess I lost what I had back
then.

-- 
Marcel Moolenaar
  mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
  tel:  (408) 447-4222

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to