diff options
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r-- | sys/ddb/db_sym.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c index 9f659517d57..a9002a1f41a 100644 --- a/sys/ddb/db_sym.c +++ b/sys/ddb/db_sym.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_sym.c,v 1.28 2002/05/16 13:01:41 art Exp $ */ +/* $OpenBSD: db_sym.c,v 1.29 2004/08/09 22:22:50 pefo Exp $ */ /* $NetBSD: db_sym.c,v 1.24 2000/08/11 22:50:47 tv Exp $ */ /* @@ -127,7 +127,7 @@ ddb_init() const db_symformat_t **symf; const char *name = "bsd"; extern char *esym; -#ifdef __sparc64__ +#if defined(__sparc64__) || defined(__mips__) extern char *ssym; #else extern long end; @@ -135,7 +135,7 @@ ddb_init() char *xssym, *xesym; xesym = esym; -#ifdef __sparc64__ +#if defined(__sparc64__) || defined(__mips__) xssym = ssym; #else xssym = (char *)&end; |