[Lldb-commits] [lldb] [lldb][FreeBSDKernel] Supply values for CS/SS registers (PR #192207)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 15 01:36:51 PDT 2026


================
@@ -58,6 +58,9 @@ bool RegisterContextFreeBSDKernelCore_x86_64::ReadRegister(
     llvm::support::ulittle64_t rip;
   } pcb;
 
+  constexpr unsigned short CODE_SEL = 4 << 3;
----------------
aokblast wrote:

It is GDT (global descriptor table) in x86 so it should be GCODE_SEL and GDATA_SEL

https://github.com/llvm/llvm-project/pull/192207


More information about the lldb-commits mailing list