================
@@ -217,6 +220,13 @@ bool
ProcessFreeBSDKernelCore::DoUpdateThreadList(ThreadList &old_thread_list,
ReadSignedIntegerFromMemory(FindSymbol("pcb_size"), 4, -1, error);
lldb::addr_t stoppcbs = FindSymbol("stoppcbs");
+ // Read stopped_cpus bitmask and mp_maxid for CPU validation
+ lldb::addr_t stopped_cpus = FindSymbol("stopped_cpus");
+ int32_t mp_maxid =
+ ReadSignedIntegerFromMemory(FindSymbol("mp_maxid"), 4, 0, error);
+ uint32_t long_size = GetAddressByteSize(); // approximation of sizeof(long)
----------------
mchoo7 wrote:
I didn't need address size fallback at all but just need TypeSystem.
https://github.com/llvm/llvm-project/pull/183981
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits