diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-19 20:56:54 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-19 20:56:54 +0000 |
commit | 70652360986c7f3b8c1ffbd8426585df715466ec (patch) | |
tree | aec892869c1b57a33bc7bd7f0c3c8da332d51183 /sys/arch | |
parent | 7ded33ef9281b14601aac900a2a66bbc127748c3 (diff) |
struct opcode is now in db_machdep.h. Add some other includes needed after
the db_machdep.h rewrite.
Diffstat (limited to 'sys/arch')
-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 */ |