From owner-freebsd-current@FreeBSD.ORG Sun Jul 11 05:18:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2738316A4CE for ; Sun, 11 Jul 2004 05:18:43 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id EECD043D1F for ; Sun, 11 Jul 2004 05:18:42 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from dhcp50.pn.xcllnt.net (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6B5IgVu079480 for ; Sat, 10 Jul 2004 22:18:42 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp50.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp50.pn.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6B5IgUk040600 for ; Sat, 10 Jul 2004 22:18:42 -0700 (PDT) (envelope-from marcel@dhcp50.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp50.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i6B5Igmo040599 for current@FreeBSD.org; Sat, 10 Jul 2004 22:18:42 -0700 (PDT) (envelope-from marcel) Date: Sat, 10 Jul 2004 22:18:42 -0700 From: Marcel Moolenaar To: current@FreeBSD.org Message-ID: <20040711051842.GC40508@dhcp50.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: HEADSUP: KDB framework X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 05:18:43 -0000 Gang, A new debugging framework has been committed. Besides adding support for kernel threads to both DDB and remote GDB and other nice features, there are some kernel configuration changes one needs to be aware of: o The DDB option is not to be used for conditional compilation of debugging related code or checks. The option is now controls the inclusion of the DDB debugger backend only. A new option, KDB, has been added for the conditional compilation of debugging code. Note that the KDB option does *not* affect the KDB frontend code. That code is non-conditional so that it can be used by modules without having to worry about it's presence. o The WITNESS_DDB, DDB_TRACE and DDB_UNATTENDED options have been renamed to WITNESS_KDB, KDB_TRACE and KDB_UNATTENDED as per the previous bullet. The options have no relation to the DDB backend. o There's no seperate option to use the symbols in the kernel image for symbol lookups instead of the kernel linker in DDB. Both are supported at the same time. o Support for remote GDB has been removed from DDB and added as a seperate debugger backend. Use option GDB to enable it. o The GDB debugger backend exports a simple interface to device so that they can register themselves as debug ports. Remote debugging is now possible using a more richer set of devices. The sio(4) driver has been converted, but the dcons(4) driver is a victim. Someone with the necessary firewire links needs to help out here. There's probably more, but I've had enough for today :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net