From owner-freebsd-hackers Tue Nov 9 14:46:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 7F00F14CF0 for ; Tue, 9 Nov 1999 14:46:43 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id RAA15458; Tue, 9 Nov 1999 17:46:24 -0500 (EST) Date: Tue, 9 Nov 1999 16:34:05 -0500 (EST) From: Zhihui Zhang To: Greg Lehey Cc: archie@whistle.com, freebsd-hackers@FreeBSD.ORG Subject: Re: How to use gdb to catch a panic In-Reply-To: <19991109172745.27205@mojave.sitaranetworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Thanks! I will certainly look into them. In the same time, I add a > > sysctl variable and let my program calls Debugger("some string") if that > > sysctl variable is true. > > I don't understand what that's useful for. If the kernel routine is going to be called from my code, I set the sysctl variable to be 1. > > > It seems working. I hope someone will write a hacker's book. > > I'm intending to write something on the subject, but don't count on it > soon. Maybe in a newer version of your book. > Greg > -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message