diff options
-rw-r--r-- | sys/arch/alpha/alpha/db_disasm.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/alpha/alpha/db_disasm.c b/sys/arch/alpha/alpha/db_disasm.c index 34b171371db..9d8e67f606c 100644 --- a/sys/arch/alpha/alpha/db_disasm.c +++ b/sys/arch/alpha/alpha/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.9 1997/07/09 14:29:03 deraadt Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.10 1997/07/19 20:56:53 niklas Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserverd. @@ -34,17 +34,16 @@ #include <sys/types.h> #include <sys/systm.h> +#include <vm/vm.h> + #include <machine/db_machdep.h> +#include <machine/frame.h> #include <ddb/db_interface.h> #include <ddb/db_variables.h> #include <ddb/db_output.h> -static struct opcode { - enum opc_fmt { OPC_PAL, OPC_RES, OPC_MEM, OPC_OP, OPC_BR } opc_fmt; - char *opc_name; - int opc_print; -} opcode[] = { +struct opcode opcode[] = { { OPC_PAL, "call_pal", 0 }, /* 00 */ { OPC_RES, "opc01", 0 }, /* 01 */ { OPC_RES, "opc02", 0 }, /* 02 */ |