Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2020 12:52:28 +0530
From:      Arka Sharma <arka.sw1988@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Accessing curthread in a kgdb session
Message-ID:  <CAPO=kN3mHNsijyCazKV0b-zd1j5VD7%2BOUjrAdWSQWxxe%2BvXaXw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPO=kN3mHNsijyCazKV0b-zd1j5VD7%2BOUjrAdWSQWxxe%2BvXaXw>