From owner-freebsd-current Mon Sep 21 02:06:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02272 for freebsd-current-outgoing; Mon, 21 Sep 1998 02:06:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA02207 for ; Mon, 21 Sep 1998 02:06:00 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA00493; Mon, 21 Sep 1998 10:04:23 +0100 (BST) Date: Mon, 21 Sep 1998 10:04:23 +0100 (BST) From: Doug Rabson To: Andrzej Bialecki cc: ben@rosengart.com, Mark Murray , current@FreeBSD.ORG Subject: Re: shouting in a void? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 21 Sep 1998, Andrzej Bialecki wrote: > On Sun, 20 Sep 1998, Snob Art Genre wrote: > > > On Sun, 20 Sep 1998, Mark Murray wrote: > > > > > With a panic, you also need to supply the stack bactrace, > > > > That would be a lot easier if the kernel would be kind enough to dump > > core. > > I was recently helping Julian to debug problems with DEVFS, and nothing > you could do could make the system to dump core. I had to read the > handbook and try to use something called "remote GDB". > > Boy, is that fantastic!!! If you have some other machine nearby, and a > null modem cable, pleasy try it - it's extremely helpful, it just allows > you to debug kernel just like any other program, with full source code > display. I'd say, try it even to only gain some experience - you won't > regret it. > > And, did I mention that it doesn't require to dump any core? :-) I have to agree with this. The alpha port wouldn't be anywhere near working if I didn't have a working kernel gdb. Any other method of debugging kernels is like trying to fix a watch while wearing boxing gloves. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message