Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 Make 64-bit stack traces look prett...



details:   https://anonhg.NetBSD.org/src/rev/96db07127cc6
branches:  trunk
changeset: 495465:96db07127cc6
user:      eeh <eeh%NetBSD.org@localhost>
date:      Fri Jul 28 19:10:33 2000 +0000

description:
Make 64-bit stack traces look prettier.

diffstat:

 sys/arch/sparc64/sparc64/db_trace.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a8f0186520ca -r 96db07127cc6 sys/arch/sparc64/sparc64/db_trace.c
--- a/sys/arch/sparc64/sparc64/db_trace.c       Fri Jul 28 19:08:25 2000 +0000
+++ b/sys/arch/sparc64/sparc64/db_trace.c       Fri Jul 28 19:10:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.16 2000/06/24 04:26:45 eeh Exp $ */
+/*     $NetBSD: db_trace.c,v 1.17 2000/07/28 19:10:33 eeh Exp $ */
 
 /*
  * Mach Operating System
@@ -170,7 +170,7 @@
                                  f->fr_local[4], f->fr_local[5], f->fr_local[6], f->fr_local[7]);
                        db_printf("%llx %llx %llx %llx ",
                                  f->fr_arg[0], f->fr_arg[1], f->fr_arg[2], f->fr_arg[3]);
-                       db_printf("%llx %llx %llxsp %llxpc=",
+                       db_printf("%llx %llx %llx=sp %llx=pc:",
                                  f->fr_arg[4], f->fr_arg[5], f->fr_fp, f->fr_pc);
                        /* Sometimes this don't work.  Dunno why. */
                        db_printsym(f->fr_pc, DB_STGY_PROC, db_printf);
@@ -186,7 +186,7 @@
                                  f->fr_local[4], f->fr_local[5], f->fr_local[6], f->fr_local[7]);
                        db_printf("%llx %llx %llx %llx ",
                                  f->fr_arg[0], f->fr_arg[1], f->fr_arg[2], f->fr_arg[3]);
-                       db_printf("%llx %llx %llxsp %llxpc=",
+                       db_printf("%llx %llx %llx=sp %llx=pc",
                                  f->fr_arg[4], f->fr_arg[5], f->fr_fp, f->fr_pc);
                        db_printf("\n");         
                }



Home | Main Index | Thread Index | Old Index