From 6d99b3635017eb57d3c72271b0c94e6759ad0ce2 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Sat, 25 Aug 2001 05:00:27 +0000 Subject: It is nice to have the hex address of the function as well as the symbol address. --- sys/arch/powerpc/powerpc/db_trace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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; } -- cgit v1.2.3