From owner-cvs-src@FreeBSD.ORG Mon Oct 3 09:31:43 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 BB8ED16A41F; Mon, 3 Oct 2005 09:31:43 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 059EB43D46; Mon, 3 Oct 2005 09:31:43 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 758B8BC7C; Mon, 3 Oct 2005 09:31:41 +0000 (UTC) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 03 Oct 2005 09:51:33 BST." <20051003094732.H71864@fledge.watson.org> Date: Mon, 03 Oct 2005 11:31:41 +0200 Message-ID: <91416.1128331901@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Olivier Houchard , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ddb db_command.c db_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 03 Oct 2005 09:31:43 -0000 In message <20051003094732.H71864@fledge.watson.org>, Robert Watson writes: >It would require some new magic in DDB and the dumping code, but >almost all of the logic to generate the information from DDB could be >reused, perhaps via an alternative pager or debug output device :-). I'm not sure reusing DDB is by definition the best idea, my idea was more to have a simple EVENTHANDLER and let all sorts of subsystems hook their own private function into that. With DDB there is a focus on fitting things on screens etc, with a "summary dump" this is less the case and more fields could be dumped from data structures etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.