From owner-freebsd-hackers Sat Aug 21 6:38:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.108]) by hub.freebsd.org (Postfix) with ESMTP id 886F914D06 for ; Sat, 21 Aug 1999 06:38:21 -0700 (PDT) (envelope-from assar@sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id PAA28516; Sat, 21 Aug 1999 15:37:44 +0200 (CEST) To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel debugging questions References: Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII From: Assar Westerlund Date: 21 Aug 1999 15:37:40 +0200 In-Reply-To: Zhihui Zhang's message of "Thu, 19 Aug 1999 21:48:00 -0400 (EDT)" Message-ID: <5lvha945ln.fsf@assaris.sics.se> Lines: 14 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message