Fix lldb doesn't analyze process core correctly.
authorasou <asou@openbsd.org>
Mon, 21 Oct 2024 05:18:17 +0000 (05:18 +0000)
committerasou <asou@openbsd.org>
Mon, 21 Oct 2024 05:18:17 +0000 (05:18 +0000)
ok kettenis@

gnu/llvm/lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp

index 9d5ed1f..0900ff1 100644 (file)
@@ -95,6 +95,7 @@ ABISysV_x86_64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch)
     case llvm::Triple::OSType::Linux:
     case llvm::Triple::OSType::MacOSX:
     case llvm::Triple::OSType::NetBSD:
+    case llvm::Triple::OSType::OpenBSD:
     case llvm::Triple::OSType::Solaris:
     case llvm::Triple::OSType::UnknownOS:
       return ABISP(