summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/db_trace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc/powerpc/db_trace.c b/sys/arch/powerpc/powerpc/db_trace.c
index a0cf20f4c2a..3a7cad5e9a1 100644
--- a/sys/arch/powerpc/powerpc/db_trace.c
+++ b/sys/arch/powerpc/powerpc/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.10 2001/07/09 02:07:05 mickey Exp $ */
+/* $OpenBSD: db_trace.c,v 1.11 2001/08/25 05:00:26 drahn Exp $ */
/* $NetBSD: db_trace.c,v 1.15 1996/02/22 23:23:41 gwr Exp $ */
/*
@@ -114,7 +114,8 @@ db_dumpframe(u_int32_t pframe)
name = "?";
offset = 65536;
}
- db_printf("%s+0x%x fp %x nfp %x\n", name, offset, pframe, nextframe);
+ db_printf("%x %s+0x%x fp %x nfp %x\n",
+ lr-4, name, offset, pframe, nextframe);
return nextframe;
}