From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 12:24:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 850DC16A4CE for ; Tue, 3 Feb 2004 12:24:10 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A88843D1D for ; Tue, 3 Feb 2004 12:24:09 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i13KO8HT087791; Tue, 3 Feb 2004 13:24:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 03 Feb 2004 13:23:34 -0700 (MST) Message-Id: <20040203.132334.88004112.imp@bsdimp.com> To: schellap@spinnakernet.com From: "M. Warner Losh" In-Reply-To: <401FD0C6.3000606@spinnakernet.com> References: <401FD0C6.3000606@spinnakernet.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Kernel Debugging X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 20:24:10 -0000 In message: <401FD0C6.3000606@spinnakernet.com> Sridhar Chellappa writes: : How do we debug a freeBSD kernel ? Do we have something similar to : "KGDB" that linux offers ? Ironically, we've had kgdb for a number of years longer than Linux. Actually, it is ironic that linux has a in-kernel debugger given Linus' strong resistance to it for years. There's also ddb that can be used for a lower level of debugging w/o the need for a serial console. Warner