Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 1999 10:44:28 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Julian Elischer <julian@whistle.com>, hackers@FreeBSD.ORG
Subject:   Re: aout gdb in 3.x
Message-ID:  <Pine.BSF.4.10.9912191043310.79491-100000@salmon.nlsystems.com>
In-Reply-To: <19991219070354.H815@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Dec 1999, Greg Lehey wrote:

> 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?

I think that most of gdb can cope with both a.out and elf. The main
problem is the shared library support which has ifdefs all over it to cope
with the differences between SunOS and SVR4 shared libs.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




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?Pine.BSF.4.10.9912191043310.79491-100000>