Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Add -d as a synonym for getting into DDB ...



details:   https://anonhg.NetBSD.org/src/rev/db1eefd2f05f
branches:  trunk
changeset: 784129:db1eefd2f05f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jan 19 10:16:56 2013 +0000

description:
Add -d as a synonym for getting into DDB to match other ports.

diffstat:

 sys/arch/arm/arm32/arm32_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a34f070a0296 -r db1eefd2f05f sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c        Sat Jan 19 09:27:32 2013 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c        Sat Jan 19 10:16:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_machdep.c,v 1.88 2012/12/31 21:34:31 jmcneill Exp $      */
+/*     $NetBSD: arm32_machdep.c,v 1.89 2013/01/19 10:16:56 skrll Exp $ */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.88 2012/12/31 21:34:31 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.89 2013/01/19 10:16:56 skrll Exp $");
 
 #include "opt_modular.h"
 #include "opt_md.h"
@@ -372,7 +372,8 @@
                if (integer)
                        boothowto |= RB_SINGLE;
        if (get_bootconf_option(args, "kdb", BOOTOPT_TYPE_BOOLEAN, &integer)
-           || get_bootconf_option(args, "-k", BOOTOPT_TYPE_BOOLEAN, &integer))
+           || get_bootconf_option(args, "-k", BOOTOPT_TYPE_BOOLEAN, &integer)
+           || get_bootconf_option(args, "-d", BOOTOPT_TYPE_BOOLEAN, &integer))
                if (integer)
                        boothowto |= RB_KDB;
        if (get_bootconf_option(args, "ask", BOOTOPT_TYPE_BOOLEAN, &integer)



Home | Main Index | Thread Index | Old Index