Accessing curthread in a kgdb session

Arka Sharma arka.sw1988 at gmail.com
Mon Jul 6 07:22:44 UTC 2020


Dear All,

I have connected to kgdb. Now if I want to dump the curthread is there any
way to do that ? I have checked the definition of curthread macro for amd64
and it is being read from gs register whose value I am not able to check
from kgdb as it says "value not available".

Regards,
Arka


More information about the freebsd-hackers mailing list