From owner-cvs-src@FreeBSD.ORG Sun Oct 8 21:47:05 2006 Return-Path: <owner-cvs-src@FreeBSD.ORG> 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 C707116A407; Sun, 8 Oct 2006 21:47:05 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2-3.pacific.net.au [61.8.2.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6334B43D46; Sun, 8 Oct 2006 21:47:05 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id E38611292B5; Mon, 9 Oct 2006 07:47:03 +1000 (EST) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id k98Ll1YR007550; Mon, 9 Oct 2006 07:47:02 +1000 Date: Mon, 9 Oct 2006 07:47:01 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> X-X-Sender: bde@delplex.bde.org To: Pawel Jakub Dawidek <pjd@FreeBSD.org> In-Reply-To: <20061008190245.GG96387@garage.freebsd.pl> Message-ID: <20061009070655.U31230@delplex.bde.org> References: <200610081837.k98Ib02G024860@repoman.freebsd.org> <20061008190245.GG96387@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans <bde@FreeBSD.org>, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ddb db_command.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 08 Oct 2006 21:47:05 -0000 On Sun, 8 Oct 2006, Pawel Jakub Dawidek wrote: > On Sun, Oct 08, 2006 at 06:37:00PM +0000, Bruce Evans wrote: >> ... >> - `registers' is now an alias for `show registers'. This is a hack to >> break the unofficial `r' alias for `reset'. `r' really means >> `registers' in some debuggers, so I sometimes type it accidentally and >> am annoyed when it resets the system. A short command shouldn't have >> such a large effect. Now at least `res' must be typed to disambiguate >> `reset'. > > I always typed 're' for reset and now it won't work... :-). You can add an alias for it if you really want it. I just remembered that it's `re' in my debugger too (except my `re' stops at the reset vector and only works in real mode, and I have variations for different reset methods). sparc64 and powerpc have a variation named `reboot' that needs to be untangled someday. It is one of 50-100 undocumented commands. Untangling it a little ... it is just bogus since it is an MD command that is identical to the MI `reset' command except for its spelling. All variations just call the MI interface cpu_reset(). sparc64 and powerpc also have a variation named `halt'. This should be an MI ddb command too. Bruce