Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 this needs db_user.h and stdlib.h i...
details: https://anonhg.NetBSD.org/src/rev/a1ceafae4dc0
branches: trunk
changeset: 764164:a1ceafae4dc0
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Apr 13 03:25:35 2011 +0000
description:
this needs db_user.h and stdlib.h in userland.
diffstat:
sys/arch/sparc64/sparc64/db_disasm.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 8211bfd69b5d -r a1ceafae4dc0 sys/arch/sparc64/sparc64/db_disasm.c
--- a/sys/arch/sparc64/sparc64/db_disasm.c Wed Apr 13 03:24:28 2011 +0000
+++ b/sys/arch/sparc64/sparc64/db_disasm.c Wed Apr 13 03:25:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.15 2008/11/25 15:41:12 nakayama Exp $ */
+/* $NetBSD: db_disasm.c,v 1.16 2011/04/13 03:25:35 mrg Exp $ */
/*
* Copyright (c) 1994 David S. Miller, davem%nadzieja.rutgers.edu@localhost
@@ -32,17 +32,22 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.15 2008/11/25 15:41:12 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.16 2011/04/13 03:25:35 mrg Exp $");
#include <sys/param.h>
#include <machine/db_machdep.h>
#include <machine/instr.h>
#include <ddb/db_sym.h>
#include <ddb/db_interface.h>
+#include <ddb/db_user.h>
#include <ddb/db_extern.h>
#include <ddb/db_output.h>
#include <ddb/db_access.h>
+#ifndef _KERNEL
+#include <stdlib.h>
+#endif
+
#ifndef V9
#define V9
#endif
Home |
Main Index |
Thread Index |
Old Index