Module Name:    src
Committed By:   skrll
Date:           Sat Jan 19 10:16:57 UTC 2013

Modified Files:
        src/sys/arch/arm/arm32: arm32_machdep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/arm/arm32/arm32_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/arm32/arm32_machdep.c
diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.88 src/sys/arch/arm/arm32/arm32_machdep.c:1.89
--- src/sys/arch/arm/arm32/arm32_machdep.c:1.88	Mon Dec 31 21:34:31 2012
+++ src/sys/arch/arm/arm32/arm32_machdep.c	Sat Jan 19 10:16:56 2013
@@ -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 @@ parse_mi_bootargs(char *args)
 		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)

Reply via email to