diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-25 05:00:27 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-25 05:00:27 +0000 |
commit | 6d99b3635017eb57d3c72271b0c94e6759ad0ce2 (patch) | |
tree | e640615c369217566c36cc7a734642100734c093 /sys/arch/powerpc | |
parent | 343e0b3d0999be77a680bb745325d583938134ac (diff) |
It is nice to have the hex address of the function as well as the symbol
address.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/db_trace.c | 5 |
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; } |