Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Nov 1998 09:59:02 -0800
From:      John Polstra <jdp@polstra.com>
To:        vanmaren@fast.cs.utah.edu
Cc:        hackers@FreeBSD.ORG
Subject:   Re: reading crashdumps in 3.0-ELF
Message-ID:  <199811071759.JAA22120@austin.polstra.com>
In-Reply-To: <199811071554.IAA11756@fast.cs.utah.edu>
References:  <199811071554.IAA11756@fast.cs.utah.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199811071554.IAA11756@fast.cs.utah.edu>,
Kevin Van Maren <vanmaren@fast.cs.utah.edu> wrote:
> Has anyone been able to read a crashdump in 3.0-ELF?
> I'm experiencing the same behavior as in PR gnu/8425
> (Even the same problems with a 2.2.X gdb).  Do I just
> need to find/build a 3.0-aout GDB?

Yes, it's awkward, but that's what you need to do in the current
state of the world.

    cd /usr/src/gnu/usr.bin/gdb
    make clean cleandepend
    env OBJFORMAT=aout make obj depend
    env OBJFORMAT=aout make all install clean cleandepend

If your -current is recent enough, the new gdb will be installed into
/usr/libexec/aout.  You can then run it with "gdb -aout ...". Your ELF
gdb will also still be available.

John
--
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

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?199811071759.JAA22120>