Date: Mon, 9 Oct 2006 07:47:01 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> 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 Message-ID: <20061009070655.U31230@delplex.bde.org> In-Reply-To: <20061008190245.GG96387@garage.freebsd.pl> References: <200610081837.k98Ib02G024860@repoman.freebsd.org> <20061008190245.GG96387@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061009070655.U31230>