From owner-freebsd-hackers Tue Nov 9 14:42:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id E10611537E for ; Tue, 9 Nov 1999 14:42:00 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id OAA36411; Tue, 9 Nov 1999 14:41:23 -0800 (PST) From: Archie Cobbs Message-Id: <199911092241.OAA36411@bubba.whistle.com> Subject: Re: How to use gdb to catch a panic In-Reply-To: from Julian Elischer at "Nov 9, 1999 02:34:35 pm" To: julian@whistle.com (Julian Elischer) Date: Tue, 9 Nov 1999 14:41:23 -0800 (PST) Cc: archie@whistle.com (Archie Cobbs), zzhang@cs.binghamton.edu (Zhihui Zhang), grog@lemis.com (Greg Lehey), freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (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 Julian Elischer writes: > uh archie, that's a whistle specific sysctl :-) Are you sure? We should check it in, it's very useful! > > I'm not sure if this answers your question, but the command > > > > sysctl -w debug.cebugger=1 ^ should be "debugger" > > > > will cause the kernel to stop and return your gdb prompt. -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