summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-06-07 21:57:58 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-06-07 21:57:58 +0000
commitfef235fa16b9c828f0e9f82086bf99ac3181b384 (patch)
tree6b2b63438f57c2c251fac1d919627e31e24c550c /sys
parent1015d983832839db2a68596a724a4aac43b7ea46 (diff)
More DDB fallout.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/powerpc/trap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index 52a99878feb..d4e42379428 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.50 2002/06/04 00:09:08 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.51 2002/06/07 21:57:57 drahn Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -525,8 +525,10 @@ mpc_print_pci_stat();
#ifdef DDB
/* set up registers */
db_save_regs(frame);
-#endif
db_find_sym_and_offset(frame->srr0, &name, &offset);
+#else
+ name = NULL;
+#endif
if (!name) {
name = "0";
offset = frame->srr0;