Date: Fri, 1 Jan 1999 17:10:29 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Greg Lehey <grog@lemis.com> Cc: "Brian J. McGovern" <mcgovern@spoon.beta.com>, questions@freebsd.org Subject: Re: Changing gdb (3.0) to debug AOUT Message-ID: <19990101171029.A63618@scientia.demon.co.uk> In-Reply-To: <19990101161337.M41841@freebie.lemis.com> References: <19990101111642.V39598@freebie.lemis.com> <199901010533.AAA24192@spoon.beta.com> <19990101161337.M41841@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote: > On Friday, 1 January 1999 at 0:33:32 -0500, Brian J. McGovern wrote: > > > As a "work around", I recompiled a copy from my 2.2.6 machine with -static > > defined, and copied it over. It seems to work ok.... > > That's about the way to do it. 3.0 gdb doesn't currently support > a.out, but I believe somebody is working on it. > > Have I missed a question in this message? any of the normal methods should work: $ gdb -aout ... other stuff ... $ OBJFORMAT=aout gdb ... other stuff ... seems to work. There are two gdbs on -current as standard -r-xr-xr-x 1 root wheel 761856 Oct 20 21:15 /usr/libexec/aout/gdb -r-xr-xr-x 1 root wheel 736664 Dec 30 23:31 /usr/libexec/elf/gdb and the "wrapper" which decides on the correct object format: 108545 -r-xr-xr-x 14 root wheel 47760 Dec 30 23:35 /usr/bin/gdb 108545 -r-xr-xr-x 14 root wheel 47760 Dec 30 23:35 /usr/bin/objformat Not sure if this is the same in -release though. Or have I misunderstood something? -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990101171029.A63618>