Source-Changes-HG archive

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

[src/trunk]: src/sys/gdbscripts fix format



details:   https://anonhg.NetBSD.org/src/rev/729a14a8f330
branches:  trunk
changeset: 761696:729a14a8f330
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 05 14:12:05 2011 +0000

description:
fix format

diffstat:

 sys/gdbscripts/lwps |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 76c137f49e76 -r 729a14a8f330 sys/gdbscripts/lwps
--- a/sys/gdbscripts/lwps       Sat Feb 05 14:08:13 2011 +0000
+++ b/sys/gdbscripts/lwps       Sat Feb 05 14:12:05 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: lwps,v 1.3 2009/11/18 18:12:00 eeh Exp $
+#      $NetBSD: lwps,v 1.4 2011/02/05 14:12:05 yamt Exp $
 
 define lwps
        set $i = 0
@@ -14,7 +14,7 @@
                        set $l = $p->p_lwps.lh_first
                        set $j = 0
                        while ($j < $p->p_nlwps)
-                               printf "0x%16lx %5d %5d %8x 0x%16lx", \
+                               printf "0x%016lx %5d %5d %8x 0x%016lx", \
                                        $l, $p->p_pid, $l->l_lid, $l->l_flag, $l->l_wchan
                                if ($l->l_wmesg)
                                        printf " (%s)", (char *)$l->l_wmesg



Home | Main Index | Thread Index | Old Index