Module Name: src
Committed By: skrll
Date: Mon Jun 5 18:44:13 UTC 2017
Modified Files:
src/sys/gdbscripts: cpus
Log Message:
Typo in previous
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/gdbscripts/cpus
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/gdbscripts/cpus
diff -u src/sys/gdbscripts/cpus:1.2 src/sys/gdbscripts/cpus:1.3
--- src/sys/gdbscripts/cpus:1.2 Mon Jun 5 18:34:16 2017
+++ src/sys/gdbscripts/cpus Mon Jun 5 18:44:13 2017
@@ -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