diff --git a/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp b/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp --- a/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp @@ -181,6 +181,7 @@ if (header.getDataEncoding() == llvm::ELF::ELFDATA2MSB) { // TODO: swap byte order for big endian + return false; } return true; @@ -321,6 +322,7 @@ bool this_is_kernel = is_kernel(memory_module_sp.get()); + // TODO: figure out why UUID is not same in FreeBSD Kernel dump // If the kernel specify what UUID should be found, we should match it // if (m_uuid.IsValid() && m_uuid != memory_module_sp->GetUUID()) { // if (log) { @@ -368,6 +370,7 @@ s.Printf("Kernel UUID: %s\n", m_uuid.GetAsString().c_str()); s.Printf("Load Address: 0x%" PRIx64 "\n", m_load_address); + // TODO: figure out why UUID is not same in FreeBSD Kernel dump // Delete more than one kernel image that accidently add by user // ModuleList incorrect_kernels; // for (ModuleSP module_sp : target.GetImages().Modules()) {