Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Fix crash(8) build on hppa.



details:   https://anonhg.NetBSD.org/src/rev/fb8c20f4cbad
branches:  trunk
changeset: 778529:fb8c20f4cbad
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Apr 02 13:18:04 2012 +0000

description:
Fix crash(8) build on hppa.

diffstat:

 sys/arch/hppa/hppa/db_machdep.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 5a900005cade -r fb8c20f4cbad sys/arch/hppa/hppa/db_machdep.c
--- a/sys/arch/hppa/hppa/db_machdep.c   Mon Apr 02 09:56:58 2012 +0000
+++ b/sys/arch/hppa/hppa/db_machdep.c   Mon Apr 02 13:18:04 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.c,v 1.6 2012/03/29 20:31:49 skrll Exp $     */
+/*     $NetBSD: db_machdep.c,v 1.7 2012/04/02 13:18:04 skrll Exp $     */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,18 +30,23 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.6 2012/03/29 20:31:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.7 2012/04/02 13:18:04 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/lwp.h>
 
 #include <machine/db_machdep.h>
+#include <machine/psl.h>
 
 #include <ddb/db_command.h>
 #include <ddb/db_output.h>
 #include <ddb/db_variables.h>
 #include <ddb/db_access.h>
 
+#ifndef _KERNEL
+#include <util.h>
+#endif
+
 db_regs_t      ddb_regs;
 const struct db_variable db_regs[] = {
        { "flags",      (long *)&ddb_regs.tf_flags,     FCN_NULL,       NULL },



Home | Main Index | Thread Index | Old Index