diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-07-12 18:12:50 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-07-12 18:12:50 +0000 |
commit | d836755004ab55e9a6e386999986819596d76de5 (patch) | |
tree | 554ef0ad76ab70914cd23843c1072ca4947cd175 /sys/arch/hppa | |
parent | 756b02c6cedbf8456c01eaa4f152d838d4774eae (diff) |
don't resolve NULL at the bottom of the stack trace (parse trapframe later)
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/db_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/db_interface.c b/sys/arch/hppa/hppa/db_interface.c index 5bfdc273661..db541608ea7 100644 --- a/sys/arch/hppa/hppa/db_interface.c +++ b/sys/arch/hppa/hppa/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.4 1999/06/22 17:58:27 mickey Exp $ */ +/* $OpenBSD: db_interface.c,v 1.5 1999/07/12 18:12:49 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -283,7 +283,7 @@ db_stack_trace_cmd(addr, have_addr, count, modif) #endif } - if (count) { + if (count && pc) { db_printsym(pc, DB_STGY_XTRN); db_printf(":\n"); } |