From owner-cvs-src@FreeBSD.ORG Sat Jul 10 18:40:12 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DBF616A4CE; Sat, 10 Jul 2004 18:40:12 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8928C43D1F; Sat, 10 Jul 2004 18:40:12 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6AIeCkF035548; Sat, 10 Jul 2004 18:40:12 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6AIeCAV035547; Sat, 10 Jul 2004 18:40:12 GMT (envelope-from marcel) Message-Id: <200407101840.i6AIeCAV035547@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 10 Jul 2004 18:40:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/include kdb.h src/sys/amd64/include kdb.h src/sys/i386/include kdb.h src/sys/ia64/include kdb.h src/sys/kern subr_kdb.c src/sys/sparc64/include kdb.h src/sys/sys kdb.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 18:40:12 -0000 marcel 2004-07-10 18:40:12 UTC FreeBSD src repository Added files: sys/alpha/include kdb.h sys/amd64/include kdb.h sys/i386/include kdb.h sys/ia64/include kdb.h sys/kern subr_kdb.c sys/sparc64/include kdb.h sys/sys kdb.h Log: Introduce the KDB debugger frontend. The frontend provides a framework in which multiple (presumably different) debugger backends can be configured and which provides basic services to those backends. Besides providing services to backends, it also serves as the single point of contact for any and all code that wants to make use of the debugger functions, such as entering the debugger or handling of the alternate break sequence. For this purpose, the frontend has been made non-optional. All debugger requests are forwarded or handed over to the current backend, if applicable. Selection of the current backend is done by the debug.kdb.current sysctl. A list of configured backends can be obtained with the debug.kdb.available sysctl. One can enter the debugger by writing to the debug.kdb.enter sysctl. Revision Changes Path 1.1 +49 -0 src/sys/alpha/include/kdb.h (new) 1.1 +52 -0 src/sys/amd64/include/kdb.h (new) 1.1 +52 -0 src/sys/i386/include/kdb.h (new) 1.1 +58 -0 src/sys/ia64/include/kdb.h (new) 1.1 +384 -0 src/sys/kern/subr_kdb.c (new) 1.1 +50 -0 src/sys/sparc64/include/kdb.h (new) 1.1 +78 -0 src/sys/sys/kdb.h (new)