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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to