Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 23:49:48 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Evan Parry <nave@azstarnet.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Changing gdb (3.0) to debug AOUT
Message-ID:  <19990101234948.B65069@scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.05.9901011142500.5907-100000@lhasa.azstarnet.com>
References:  <19990101171029.A63618@scientia.demon.co.uk> <Pine.BSF.4.05.9901011142500.5907-100000@lhasa.azstarnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Evan Parry wrote:

> Is this a option for make world?  I am running a very recent -CURRENT and
> I do not have a /usr/libexec/aout/gdb and, of course, I get errors when
> trying to use gdb on an aout binary.

Odd, I don't seem to remember creating that manually. Do you have a
/usr/libexec/elf/gdb, or is your gdb only in /usr/bin? From
/src/gnu/usr.bin/gdb/gdb/Makefile

#	$Id: Makefile,v 1.38 1998/10/15 14:15:09 bde Exp $

.if ${OBJFORMAT} == elf
BFDDIR= ${.CURDIR}/../../binutils/libbfd/${MACHINE_ARCH}
BINDIR=	/usr/libexec/elf
.else
BFDDIR= ${.CURDIR}/../bfd
BINDIR=	/usr/libexec/aout
.endif

[.. etc ..]

So the aout version should be installed in /usr/libexec/aout. Are you
building the world with NOAOUT set?

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP 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?19990101234948.B65069>