From owner-freebsd-questions Thu Dec 31 16:47:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA10120 for freebsd-questions-outgoing; Thu, 31 Dec 1998 16:47:33 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA10113 for ; Thu, 31 Dec 1998 16:47:29 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA15373; Fri, 1 Jan 1999 11:16:38 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA41698; Fri, 1 Jan 1999 11:16:42 +1030 (CST) Message-ID: <19990101111642.V39598@freebie.lemis.com> Date: Fri, 1 Jan 1999 11:16:42 +1030 From: Greg Lehey To: "Brian J. McGovern" , questions@FreeBSD.ORG Subject: Re: Changing gdb (3.0) to debug AOUT References: <199812311321.IAA03197@spoon.beta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199812311321.IAA03197@spoon.beta.com>; from Brian J. McGovern on Thu, Dec 31, 1998 at 08:21:06AM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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