Date: Tue, 25 May 1999 23:43:12 +0100 From: "Greg Quinlan" <greg@qmpgmc.ac.uk> To: "Mike Smith" <mike@smith.net.au> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: gdb -k & Re: [Q] How stable is FreeBSD 3.X ? Message-ID: <01bea6ff$f8639660$0101a8c0@greg>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bea6ff$f8639660$0101a8c0>