From owner-freebsd-hackers Sat Dec 18 12:34: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 4D4B414EBC for ; Sat, 18 Dec 1999 12:34:00 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id HAA03687; Sun, 19 Dec 1999 07:03:54 +1030 (CST) Date: Sun, 19 Dec 1999 07:03:54 +1030 From: Greg Lehey To: Doug Rabson Cc: Julian Elischer , hackers@FreeBSD.ORG Subject: Re: aout gdb in 3.x Message-ID: <19991219070354.H815@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 18 December 1999 at 14:51:59 +0000, Doug Rabson wrote: > On Fri, 17 Dec 1999, Julian Elischer wrote: > >> >> How does one compile a version of GDB that can read a.out files? >> I know there is a way of doing it but I have totoally failed to work >> out how to do so. > > I think you can do this by changing src/gnu/usr.bin/binutils/gdb/Makefile. > Change: > > CFLAGS += -DFREEBSD_ELF > > to set FREEBSD_AOUT instead. I thought it used to be possible for gdb to recognize multiple formats. Is this no longer the case? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message