Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src properly document alpha ddb "mach" commands. PR#38303.



details:   https://anonhg.NetBSD.org/src/rev/9be07aec1bf3
branches:  trunk
changeset: 755513:9be07aec1bf3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 08 06:14:57 2010 +0000

description:
properly document alpha ddb "mach" commands.  PR#38303.

diffstat:

 share/man/man4/ddb.4                |  12 +++++++-----
 sys/arch/alpha/alpha/db_interface.c |   7 ++++---
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r 4312b65c2da3 -r 9be07aec1bf3 share/man/man4/ddb.4
--- a/share/man/man4/ddb.4      Tue Jun 08 06:11:05 2010 +0000
+++ b/share/man/man4/ddb.4      Tue Jun 08 06:14:57 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ddb.4,v 1.138 2010/06/06 03:26:57 mrg Exp $
+.\"    $NetBSD: ddb.4,v 1.139 2010/06/08 06:14:57 mrg Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -921,10 +921,12 @@
 Some of these commands are:
 .Ss ALPHA
 .Bl -tag -width "traptrace" -compact
-.It Ic halt
-Call the PROM monitor to halt the CPU.
-.It Ic reboot
-Call the PROM monitor to reboot the CPU.
+.It Ic cpu
+Switch to another cpu.
+.\" .It Ic halt
+.\" Call the PROM monitor to halt the CPU.
+.\" .It Ic reboot
+.\" Call the PROM monitor to reboot the CPU.
 .El
 .Ss ARM32
 .Bl -tag -width "traptrace" -compact
diff -r 4312b65c2da3 -r 9be07aec1bf3 sys/arch/alpha/alpha/db_interface.c
--- a/sys/arch/alpha/alpha/db_interface.c       Tue Jun 08 06:11:05 2010 +0000
+++ b/sys/arch/alpha/alpha/db_interface.c       Tue Jun 08 06:14:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.31 2009/03/18 10:22:22 cegger Exp $ */
+/* $NetBSD: db_interface.c,v 1.32 2010/06/08 06:14:57 mrg Exp $ */
 
 /* 
  * Mach Operating System
@@ -52,7 +52,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.31 2009/03/18 10:22:22 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.32 2010/06/08 06:14:57 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -94,7 +94,8 @@
 
 const struct db_command db_machine_command_table[] = {
 #if defined(MULTIPROCESSOR)
-       { DDB_ADD_CMD("cpu",    db_mach_cpu,    0,NULL,NULL,NULL) },
+       { DDB_ADD_CMD("cpu",    db_mach_cpu,    0,
+         "switch to another cpu", "cpu-no", NULL) },
 #endif
        { DDB_ADD_CMD(NULL,     NULL,           0,NULL,NULL,NULL) },
 };



Home | Main Index | Thread Index | Old Index