summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/db_machdep.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:10:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-07-05 21:10:51 +0000
commita4ad12e3d1a512b89d9d85f6febc3f1c1bf7ea22 (patch)
tree081554f6ab8a597fdf4025181d92fd919da94a3e /sys/arch/vax/include/db_machdep.h
parent50508fdc39c1c58bc7a03b6cad331ab7b3917975 (diff)
VAX ELF userland bits. Consists mostly of register prefix additions.
Diffstat (limited to 'sys/arch/vax/include/db_machdep.h')
-rw-r--r--sys/arch/vax/include/db_machdep.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/vax/include/db_machdep.h b/sys/arch/vax/include/db_machdep.h
index 0d592a43ba1..2cd20cb7c7b 100644
--- a/sys/arch/vax/include/db_machdep.h
+++ b/sys/arch/vax/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.14 2011/03/23 16:54:37 pirofti Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.15 2013/07/05 21:10:50 miod Exp $ */
/* $NetBSD: db_machdep.h,v 1.6 1998/08/10 14:33:33 ragge Exp $ */
/*
@@ -73,9 +73,11 @@ extern db_regs_t ddb_regs; /* register state */
/* Prototypes */
void kdb_trap(struct trapframe *);
-/*
- * We use a.out symbols in DDB.
- */
+#ifdef __ELF__
+#define DB_ELF_SYMBOLS
+#define DB_ELFSIZE 32
+#else
#define DB_AOUT_SYMBOLS
+#endif
#endif /* _MACHINE_DB_MACHDEP_H_ */