Date: Fri, 1 Jan 1999 11:16:42 +1030 From: Greg Lehey <grog@lemis.com> To: "Brian J. McGovern" <mcgovern@spoon.beta.com>, questions@FreeBSD.ORG Subject: Re: Changing gdb (3.0) to debug AOUT Message-ID: <19990101111642.V39598@freebie.lemis.com> In-Reply-To: <199812311321.IAA03197@spoon.beta.com>; from Brian J. McGovern on Thu, Dec 31, 1998 at 08:21:06AM -0500 References: <199812311321.IAA03197@spoon.beta.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 31 December 1998 at 8:21:06 -0500, Brian J. McGovern wrote: > I've been running 3.0 for a bit, and I'm running in to a snag with a.out > binaries (including being unable to remote-debug kernels). It appears that > the gdb w/3.0 will debug ELF binaries just fine, but doesn't recognize the > a.out format. > > I've mucked around in the code, but don't see where the target controls whether > its an ELF or a.out target. Is it a function of which its compiled with? Can > I get away just rebuilding it with -aout? If so, where is a good place to > stick this flag? IIRC, gdb should recognize the format automatically. I'm sure it did before I ever got involved with FreeBSD, but I haven't looked at the code since. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public 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?19990101111642.V39598>