CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/02/09 15:21:54
Modified files:
usr.sbin/pstat : pstat.c
Log message:
Teach pstat -d to also print untyped kernel symbols.
Storage defined in assembly code often doesn't define its type and size,
thus the nlist interface can't present it as N_DATA. Instead of fixing
all the assembly by adding .type pseudo ops, work around the problem in
pstat. Let's hope that allowing N_COMM is sufficient. This makes
''pstat -d u cpuid_level'' useful.
Reported by mikeb@, "looks sane" mikeb@ guenther@