From owner-freebsd-current Wed Nov 18 13:07:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06564 for freebsd-current-outgoing; Wed, 18 Nov 1998 13:07:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06528 for ; Wed, 18 Nov 1998 13:07:26 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id PAA13507; Wed, 18 Nov 1998 15:06:42 -0600 (CST) Date: Wed, 18 Nov 1998 15:06:41 -0600 From: Dan Nelson To: Harold Gutch , joelh@gnu.org, freebsd-current@FreeBSD.ORG Subject: Re: KGDB with aout Message-ID: <19981118150641.A13349@emsphone.com> References: <199811181803.MAA00465@detlev.UUCP> <19981118205229.A7476@foobar.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: <19981118205229.A7476@foobar.franken.de>; from "Harold Gutch" on Wed Nov 18 20:52:29 GMT 1998 X-OS: FreeBSD 3.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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