Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/include Include ELF symbol in DDB is we are an ...



details:   https://anonhg.NetBSD.org/src/rev/747c13387844
branches:  trunk
changeset: 509377:747c13387844
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 02 15:59:38 2001 +0000

description:
Include ELF symbol in DDB is we are an ELF kernel.

diffstat:

 sys/arch/vax/include/db_machdep.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 8b29006028d9 -r 747c13387844 sys/arch/vax/include/db_machdep.h
--- a/sys/arch/vax/include/db_machdep.h Wed May 02 15:33:14 2001 +0000
+++ b/sys/arch/vax/include/db_machdep.h Wed May 02 15:59:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.8 2000/06/29 07:14:19 mrg Exp $       */
+/*     $NetBSD: db_machdep.h,v 1.9 2001/05/02 15:59:38 matt Exp $      */
 
 /* 
  * Mach Operating System
@@ -75,8 +75,13 @@
 void   kdb_trap __P((struct trapframe *));
 
 /*
- * We use a.out symbols in DDB.
+ * We use a.out symbols in DDB (unless we are ELF then we use ELF symbols).
  */
+#ifdef __ELF__
+#define        DB_ELF_SYMBOLS
+#define        DB_ELFSIZE              32
+#else
 #define        DB_AOUT_SYMBOLS
+#endif
 
 #endif /* _VAX_DB_MACHDEP_H_ */



Home | Main Index | Thread Index | Old Index