> 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..
yes the crux of the problem, so does anyone have patches
to the kernel so that linux binaries dump in linux core
file format?
>
> You can still attach to processes etc though I think.
If I can keep the program running. The program has its
own signal handlers and I cannot stop it before it crashes
- JimP
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message