cvs commit: src/sys/ddb db_command.c

Bruce Evans bde at zeta.org.au
Sun Oct 8 14:47:05 PDT 2006


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


More information about the cvs-src mailing list