cvs commit: src/sys/ddb db_command.c src/sys/sparc64/sparc64 db_interface.c src/sys/powerpc/powerpc db_interface.c

Bruce Evans bde at FreeBSD.org
Tue Oct 10 00:26:54 PDT 2006


bde         2006-10-10 07:26:54 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_command.c 
    sys/sparc64/sparc64  db_interface.c 
    sys/powerpc/powerpc  db_interface.c 
  Log:
  The powerpc and sparc64 MD `reboot' commands should never have existed
  since they just duplicated the MI `reset' command.  Instead of removing
  them, make `reboot' an MI alias for `reboot' since this gives a better
  way of killing the `r' alias for `reset'.  Remove the `registers' command
  that was used to kill the alias.
  
  Turn the powerpc and sparc64 MD `halt' command into an MI command.
  
  A copy of sparc64/db_interface.c grew in sun4v just after I found the
  extra reboot commands.  It has not been changed, and is now not
  identical.  Duplicated commands come out duplicated in ddb's online
  help, but cause large problems when used (e.g., on i386's with 2 halt's
  and an hwatch, typing h doesn' give the expected message about an
  ambiguous command, but hangs like the halt command or a looping parseri
  would).
  
  Revision  Changes    Path
  1.71      +10 -1     src/sys/ddb/db_command.c
  1.6       +0 -14     src/sys/powerpc/powerpc/db_interface.c
  1.11      +0 -11     src/sys/sparc64/sparc64/db_interface.c


More information about the cvs-all mailing list