From owner-freebsd-hackers Tue Mar 19 13:42:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by hub.freebsd.org (Postfix) with ESMTP id 30EB237B404 for ; Tue, 19 Mar 2002 13:42:06 -0800 (PST) Received: (from ambrisko@localhost) by ambrisko.com (8.11.6/8.11.6) id g2JLfCC14788; Tue, 19 Mar 2002 13:41:12 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200203192141.g2JLfCC14788@ambrisko.com> Subject: Re: Kernel debugger and X11. In-Reply-To: <20020319213623.GA7786@genius.tao.org.uk> To: Josef Karthauser Date: Tue, 19 Mar 2002 13:41:12 -0800 (PST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Josef Karthauser writes: | > > Does anyone have any working practices around this problem? I'm sure | > > that I'm not the only one of us with it. | > | > I would recommend just enabling crash dumps; then it doesn't matter if | > you're in X when the machine panics, and you can get a stack trace and look | > at things once the machine reboots. | > | I suppose. Is it possible to switch the debugger off via a sysctl, | without compiling it out? You could switch it to ddb_unattended via: sysctl -w debug.debugger_on_panic=0 when you start and flip when you exit. Then just leave everything compiled in your kernel. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message