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:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to