summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-02-06 07:03:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-02-06 07:03:57 +0000
commit4d54ac1ebff583ea6304624b3fa00ba34fdf3d2d (patch)
treed4b744b1fc8a593f1a55d621d0b5977dd6f1a148
parent56eb68e7d8ece0c90a64268c466b6e7b012c7115 (diff)
Allow booting on alphas with DDB, although no symbols will be seen.
-rw-r--r--sys/ddb/db_aout.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index 7ac0b3ba7c3..a7776e93b07 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.24 1999/09/11 00:44:59 mickey Exp $ */
+/* $OpenBSD: db_aout.c,v 1.25 2001/02/06 07:03:56 niklas Exp $ */
/* $NetBSD: db_aout.c,v 1.14 1996/02/27 20:54:43 gwr Exp $ */
/*
@@ -87,6 +87,11 @@ X_db_sym_init(symtab, esymtab, name)
struct nlist *sym_start, *sym_end;
char *estrtab;
+#ifdef __alpha__
+ printf ("DDB: no symbols\n");
+ return;
+#endif
+
#ifdef SYMTAB_SPACE
if (*symtab < sizeof(int)) {
printf ("DDB: no symbols\n");