Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 11:45:19 -0700 (MST)
From:      Evan Parry <nave@azstarnet.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        Greg Lehey <grog@lemis.com>, "Brian J. McGovern" <mcgovern@spoon.beta.com>, questions@FreeBSD.ORG
Subject:   Re: Changing gdb (3.0) to debug AOUT
Message-ID:  <Pine.BSF.4.05.9901011142500.5907-100000@lhasa.azstarnet.com>
In-Reply-To: <19990101171029.A63618@scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Jan 1999, Ben Smithurst wrote:

> Greg Lehey wrote:
> 
> > On Friday,  1 January 1999 at  0:33:32 -0500, Brian J. McGovern wrote:
> >
> > > As a "work around", I recompiled a copy from my 2.2.6 machine with -static
> > > defined, and copied it over. It seems to work ok....
> > 
> > That's about the way to do it.  3.0 gdb doesn't currently support
> > a.out, but I believe somebody is working on it.
> > 
> > Have I missed a question in this message?
> 
> any of the normal methods should work:
> 
> $ gdb -aout ... other stuff ...
> $ OBJFORMAT=aout gdb ... other stuff ...
> 
> seems to work. There are two gdbs on -current as standard
> 
> -r-xr-xr-x  1 root  wheel  761856 Oct 20 21:15 /usr/libexec/aout/gdb
> -r-xr-xr-x  1 root  wheel  736664 Dec 30 23:31 /usr/libexec/elf/gdb
> 
> and the "wrapper" which decides on the correct object format:
> 108545 -r-xr-xr-x  14 root  wheel  47760 Dec 30 23:35 /usr/bin/gdb
> 108545 -r-xr-xr-x  14 root  wheel  47760 Dec 30 23:35 /usr/bin/objformat
> 
> Not sure if this is the same in -release though.
> 
> Or have I misunderstood something?
> 

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.


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