Source-Changes-HG archive

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

[src/trunk]: src/sys/gdbscripts Typo in previous



details:   https://anonhg.NetBSD.org/src/rev/15b0b2d8094b
branches:  trunk
changeset: 354142:15b0b2d8094b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jun 05 18:44:13 2017 +0000

description:
Typo in previous

diffstat:

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

diffs (16 lines):

diff -r a9b76727ba3e -r 15b0b2d8094b sys/gdbscripts/cpus
--- a/sys/gdbscripts/cpus       Mon Jun 05 18:34:16 2017 +0000
+++ b/sys/gdbscripts/cpus       Mon Jun 05 18:44:13 2017 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: cpus,v 1.2 2017/06/05 18:34:16 skrll Exp $
+#      $NetBSD: cpus,v 1.3 2017/06/05 18:44:13 skrll Exp $
 
 define cpus
        set $cpu = 0
        printf "\t     cpu id           curlwp\n"
        while ($cpu < ncpu)
-               set $ci = &cpu_infos[$cpu]
+               set $ci = cpu_infos[$cpu]
                printf "%16lx %2d %16lx\n", $ci, $ci->ci_cpuid, $ci->ci_curlwp
                set $cpu++
        end



Home | Main Index | Thread Index | Old Index