From owner-freebsd-stable Tue May 25 15:51:56 1999 Delivered-To: freebsd-stable@freebsd.org Received: from amanda.qmpgmc.ac.uk (amanda.qmpgmc.ac.uk [194.81.5.1]) by hub.freebsd.org (Postfix) with ESMTP id 1025B151AF for ; Tue, 25 May 1999 15:51:47 -0700 (PDT) (envelope-from greg@qmpgmc.ac.uk) Received: from greg (chap-ppp0 [10.50.1.30]) by amanda.qmpgmc.ac.uk (8.9.3/8.9.3) with SMTP id XAA03607; Tue, 25 May 1999 23:51:02 +0100 (BST) Reply-To: "Greg Quinlan" From: "Greg Quinlan" To: "Mike Smith" Cc: Subject: Re: gdb -k & Re: [Q] How stable is FreeBSD 3.X ? Date: Tue, 25 May 1999 23:43:12 +0100 Message-ID: <01bea6ff$f8639660$0101a8c0@greg> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nope that didn't work.... the kernel.0 your referring to will not have any debug code.... but kernel.debug should. Yet that didn't work either. # cd /var/crash # ls bounds kernel.0 vmcore.0 # gdb -k kernel.0 --core vmcore.0 GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... kernel symbol `SMP_prvspace' not found. (kgdb) where No stack. (kgdb) q # ls -l total 132849 -rw-r--r-- 1 root wheel 2 May 25 13:14 bounds -rw-r--r-- 1 root wheel 1733154 May 25 09:43 kernel.0 -rw------- 1 root wheel 134217728 May 25 09:43 vmcore.0 # cd /usr/src/sys/compile/dns1 # ls -l kernel.debug -rwxr-xr-x 1 root wheel 8452403 May 24 06:19 kernel.debug I installed the kernel as follows: cp kernel kernel.debug strip -g kernel make install Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message