Date: Wed, 18 Nov 1998 15:06:41 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Harold Gutch <logix@foobar.franken.de>, joelh@gnu.org, freebsd-current@FreeBSD.ORG Subject: Re: KGDB with aout Message-ID: <19981118150641.A13349@emsphone.com> In-Reply-To: <19981118205229.A7476@foobar.franken.de>; from "Harold Gutch" on Wed Nov 18 20:52:29 GMT 1998 References: <199811181803.MAA00465@detlev.UUCP> <19981118205229.A7476@foobar.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 18), Harold Gutch said: > On Wed, Nov 18, 1998 at 12:03:41PM -0600, Joel Ray Holveck wrote: > > 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. -Dan Nelson dnelson@emsphone.com 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?19981118150641.A13349>