From owner-cvs-src@FreeBSD.ORG Sun Dec 28 22:35:16 2003 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 113FA16A4CF; Sun, 28 Dec 2003 22:35:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41D9843D39; Sun, 28 Dec 2003 22:35:15 -0800 (PST) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBT6ZF0B089186; Sun, 28 Dec 2003 22:35:15 -0800 (PST) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBT6ZEhh089185; Sun, 28 Dec 2003 22:35:14 -0800 (PST) (envelope-from grog) Message-Id: <200312290635.hBT6ZEhh089185@repoman.freebsd.org> From: Greg Lehey Date: Sun, 28 Dec 2003 22:35:14 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/debugscripts dot.gdbinit 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: Mon, 29 Dec 2003 06:35:16 -0000 grog 2003/12/28 22:35:14 PST FreeBSD src repository Modified files: tools/debugscripts dot.gdbinit Log: Add comments to deter people from using this file directly. That's not the intention. Rearrange "you may want to change these values" values to the top, and reduce their number as much as possible. tr macro: Require a parameter (because gdb is too stupid to understand optional parameters), and create macros tr0, tr1 and trf which call it to connect to /dev/cuaa0, /dev/cuaa1 and firewire connections respectively. Split kld symbol load into two separate macros: revision 1.5 simplified things for the /dev/mem case, but broke it for anything else. Now the simple /dev/mem version is called kldsyms, and the version for serial debugging and processor dumps is called getsyms, and still requires this irritating cut and paste. Change comments on startup to make life easier for the poor (de)bugger. Revision Changes Path 1.6 +96 -16 src/tools/debugscripts/dot.gdbinit