Date: Sat, 24 Feb 2001 18:19:08 -0800 From: Jim.Pirzyk@disney.com To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-hackers@FreeBSD.org, Jim Pirzyk <Jim.Pirzyk@disney.com> Subject: Re: gdb and debugging Linux binaries Message-ID: <iss.71d4.3a986b9c.82c4d.1@fanimap.fan.fa.disney.com>
next 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.. 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 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?iss.71d4.3a986b9c.82c4d.1>