# $NetBSD: cpus,v 1.1 2008/02/20 21:01:23 ad Exp $
define cpus
set $ci = &cpu_info_primary
printf "\t cpu id curlwp\n"
while ($ci != 0)
printf "%16lx %2d %16lx\n", $ci, $ci->ci_cpuid, $ci->ci_curlwp
set $ci = $ci->ci_next
end