Skip site navigation (1)Skip section navigation (2)
Date:      18 Nov 1998 22:24:59 -0600
From:      Joel Ray Holveck <joelh@gnu.org>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        Harold Gutch <logix@foobar.franken.de>, freebsd-current@FreeBSD.ORG
Subject:   Re: KGDB with aout
Message-ID:  <86u2zwgvhg.fsf@detlev.UUCP>
In-Reply-To: Dan Nelson's message of "Wed, 18 Nov 1998 15:06:41 -0600"
References:  <199811181803.MAA00465@detlev.UUCP> <19981118205229.A7476@foobar.franken.de> <19981118150641.A13349@emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> Do we have any way to do post-mortem kernel debugging of an a.out
>>> kernel, or do I need to bite the bullet and go to an ELF kernel?
>> You need an a.out gdb, for example from an a.out system you still
>> have somewhere - or from ftp://ftp.lemis.com/pub/vinum/gdb-aout.
> revision 1.11
> date: 1998/10/15 00:19:08;  author: peter;  state: Exp;  lines: +3 -1
> Add objformat links for gdb and (while we're at it) c++filt.
> This means we can (assuming an a.out gdb is present) debug a.out kernels
> and crashdumps with gdb -aout.
> Just running:
> gdb -aout -k kernel.0 vmcore.0
> should work (works for me).  And if you don't have an a.out gdb, you
> should be able to build one via "OBJFORMAT=aout ; make clean && make
> all install" in the gdb source dir.

Bad Joel!  No cookie!  Make world, make world, before asking, make
world!  :-)

Thanks,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u2zwgvhg.fsf>