Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 16:10:47 -0700
From:      Mike Smith <mike@smith.net.au>
To:        "Greg Quinlan" <greg@qmpgmc.ac.uk>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: gdb -k & Re: [Q] How stable is FreeBSD 3.X ? 
Message-ID:  <199905252310.QAA01848@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 25 May 1999 23:43:12 BST." <01bea6ff$f8639660$0101a8c0@greg> 

next in thread | previous 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.

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.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




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?199905252310.QAA01848>