From owner-freebsd-hackers Thu Sep 16 20:25:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id A1F3C14EBD for ; Thu, 16 Sep 1999 20:25:47 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA62780; Fri, 17 Sep 1999 12:54:19 +0930 (CST) Date: Fri, 17 Sep 1999 12:54:19 +0930 From: Greg Lehey To: Assar Westerlund Cc: Zhihui Zhang , freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel debugging questions Message-ID: <19990917125419.G55065@freebie.lemis.com> References: <5lvha945ln.fsf@assaris.sics.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <5lvha945ln.fsf@assaris.sics.se>; from Assar Westerlund on Sat, Aug 21, 1999 at 03:37:40PM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 21 August 1999 at 15:37:40 +0200, Assar Westerlund wrote: > Zhihui Zhang writes: >> Thanks for your response. I can not think of those points myself. >> However, on page 7 of the book "Panic! Unix system crash dump analysis", >> it says that a debugger named kadb in SunOS can load the real kernel >> during boot and treat the latter like a great, big, user program, stepping >> through its execution, examining and modifying values on the fly. >> >> It seems to me that FreeBSD does not have such a debugger. Maybe ddb can >> do so, but it works with assembly. > > kadb also works with assembly. That being said, I much prefer ddb to > kadb, and of course remote gdb is *much* nicer. [catching up] The nice thing about kadb is that it has a usable macro languge. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message