From owner-freebsd-stable Wed May 26 2: 1:18 1999 Delivered-To: freebsd-stable@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id D124B14D69 for ; Wed, 26 May 1999 02:01:01 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA48486; Wed, 26 May 1999 09:59:22 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 26 May 1999 09:59:21 +0100 (BST) From: Doug Rabson To: Mike Smith Cc: Greg Quinlan , freebsd-stable@freebsd.org Subject: Re: gdb -k & Re: [Q] How stable is FreeBSD 3.X ? In-Reply-To: <199905252310.QAA01848@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 May 1999, Mike Smith wrote: > > 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. > > I typically just install the debug kernel, so that all the kernels in > the dump area contain debug symbols. > > > # 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 > > Weird. I can only wonder if there's a problem with dumps taken on SMP > systems; everything else ought to work. You might want to poke Doug > Rabson just in case something broke in the recent gdb changes. I think Dmitrij has just fixed my mistake. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message