From owner-freebsd-hackers Mon Mar 29 21:19: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (s205m7.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 870C414D7B for ; Mon, 29 Mar 1999 21:19:00 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id VAA32313; Mon, 29 Mar 1999 21:17:59 -0800 (PST) From: Archie Cobbs Message-Id: <199903300517.VAA32313@bubba.whistle.com> Subject: Re: Debug kernel by default? (was: Taking panic dumps (was: 3.1-S TABLE dies on 40+ connects (resolved))) In-Reply-To: <19990330123136.H413@lemis.com> from Greg Lehey at "Mar 30, 99 12:31:36 pm" To: grog@lemis.com (Greg Lehey) Date: Mon, 29 Mar 1999 21:17:59 -0800 (PST) Cc: paul@originative.co.uk, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey writes: > How about this: > > - make config assume the -g option by default. > - add a new option (-s) to config to generate stripped objects. > - add a target install.gdb to the Makefile. This target will install > the unstripped kernel for people who want to use ddb. > - modifiy the existing install target to make a stripped copy of the > kernel and to install it. Sounds good to me. One thing we do at Whistle is install both kernel (stripped version) and kernel.debug (unstripped version) in the root partition.. it's handy when you don't still have the original debug kernel for getting symboled and line numbered stack traces. Just a thought. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message