From owner-freebsd-current Sat Dec 27 16:36:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA00892 for current-outgoing; Sat, 27 Dec 1997 16:36:24 -0800 (PST) (envelope-from owner-freebsd-current) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA00867 for ; Sat, 27 Dec 1997 16:36:09 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with SMTP id QAA05520; Sat, 27 Dec 1997 16:36:02 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Sat, 27 Dec 1997 16:36:02 -0800 (PST) From: Chris Timmons To: Bruce Evans cc: freebsd-current@FreeBSD.ORG Subject: Re: no boot: config -g and options DDB In-Reply-To: <199712272314.KAA30548@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It says that in the section about remote debugging using gdb. Should I be able to boot a kernel that is config -g'd with options DDB and not stripped? Actually I'm not really trying to do remote kernel debugging with gdb. I was thinking that I would want to config -g to make a more interesting dump when I call panic from in ddb, allowing me to do some poking later with KGDB. How does BRUCE do it??? :) -c On Sun, 28 Dec 1997, Bruce Evans wrote: > >but it boots when I strip -x the kernel like it says to do in the > >handbook. "never mind" :) > > It shouldn't say that. -x breaks everything that needs static symbols, > e.g., systat. -d is correct. > > Bruce >