aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-09 23:32:03 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-09 23:32:03 +0000
commit286896fe5641b9ebae2bb05b70eadc9a0d770603 (patch)
tree4ad00642246c8e24947189191d75dc5ea5b8321a /sys/ddb
parent91284f875f66b309eb398ad78b705964efedbf6d (diff)
Notes
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_elf.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c
index 12d216fb4a93f..38fe9e8f082a7 100644
--- a/sys/ddb/db_elf.c
+++ b/sys/ddb/db_elf.c
@@ -1,4 +1,4 @@
-/* $Id: db_elf.c,v 1.2 1998/06/28 00:59:26 dfr Exp $ */
+/* $Id: db_elf.c,v 1.3 1998/08/17 08:06:31 dfr Exp $ */
/* $NetBSD: db_elf.c,v 1.4 1998/05/03 18:49:54 thorpej Exp $ */
/*-
@@ -38,6 +38,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#if defined(__ELF__) && defined(__alpha__)
+
#include "opt_ddb.h"
#include <sys/types.h>
@@ -50,14 +52,6 @@
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
-#ifdef DB_ELF_SYMBOLS
-
-#ifndef DB_ELFSIZE
-#error Must define DB_ELFSIZE!
-#endif
-
-#define ELFSIZE DB_ELFSIZE
-
#include <machine/elf.h>
static char *db_elf_find_strtab __P((db_symtab_t *));
@@ -384,4 +378,4 @@ kdb_init(void)
X_db_sym_init(ksym_start, ksym_end, "kernel");
}
-#endif /* DB_ELF_SYMBOLS */
+#endif