From owner-freebsd-current Wed Nov 18 20:28:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA05623 for freebsd-current-outgoing; Wed, 18 Nov 1998 20:28:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from detlev.UUCP (tex-114.camalott.com [208.229.74.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA05597 for ; Wed, 18 Nov 1998 20:28:05 -0800 (PST) (envelope-from joelh@gnu.org) Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id WAA03145; Wed, 18 Nov 1998 22:24:59 -0600 (CST) (envelope-from joelh) To: Dan Nelson Cc: Harold Gutch , freebsd-current@FreeBSD.ORG Subject: Re: KGDB with aout References: <199811181803.MAA00465@detlev.UUCP> <19981118205229.A7476@foobar.franken.de> <19981118150641.A13349@emsphone.com> From: Joel Ray Holveck Date: 18 Nov 1998 22:24:59 -0600 In-Reply-To: Dan Nelson's message of "Wed, 18 Nov 1998 15:06:41 -0600" Message-ID: <86u2zwgvhg.fsf@detlev.UUCP> Lines: 26 X-Mailer: Gnus v5.5/Emacs 20.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>> 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