Index: lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
--- lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp.orig
+++ lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
@@ -25,6 +25,7 @@
 #include "lldb/Utility/State.h"
 #include "lldb/Utility/Status.h"
 #include "lldb/Utility/StreamString.h"
+#include "Plugins/Process/OpenBSDKernel/ProcessOpenBSDKernel.h"
 
 // Define these constants from OpenBSD mman.h for use when targeting remote
 // openbsd systems even when host has different values.
@@ -79,7 +80,7 @@ llvm::StringRef PlatformOpenBSD::GetPluginDescriptionS
 }
 
 void PlatformOpenBSD::Initialize() {
-  Platform::Initialize();
+  PlatformPOSIX::Initialize();
 
   if (g_initialize_count++ == 0) {
 #if defined(__OpenBSD__)
@@ -91,6 +92,7 @@ void PlatformOpenBSD::Initialize() {
         PlatformOpenBSD::GetPluginNameStatic(false),
         PlatformOpenBSD::GetPluginDescriptionStatic(false),
         PlatformOpenBSD::CreateInstance, nullptr);
+	ProcessOpenBSDKernel::Initialize();
   }
 }
 
@@ -98,6 +100,7 @@ void PlatformOpenBSD::Terminate() {
   if (g_initialize_count > 0) {
     if (--g_initialize_count == 0) {
       PluginManager::UnregisterPlugin(PlatformOpenBSD::CreateInstance);
+      ProcessOpenBSDKernel::Terminate();
     }
   }
 
@@ -145,9 +148,13 @@ void PlatformOpenBSD::GetStatus(Stream &strm) {
 #endif
 }
 
-// OpenBSD processes cannot yet be launched by spawning and attaching.
 bool PlatformOpenBSD::CanDebugProcess() {
-  return false;
+	if (IsHost()) {
+		return true;
+	} else {
+		// If we're connected, we can debug.
+		return IsConnected();
+	}
 }
 
 void PlatformOpenBSD::CalculateTrapHandlerSymbolNames() {
@@ -167,4 +174,14 @@ MmapArgList PlatformOpenBSD::GetMmapArgumentList(const
 
   MmapArgList args({addr, length, prot, flags_platform, fd, offset});
   return args;
+}
+
+FileSpec PlatformOpenBSD::LocateExecutable(const char *basename) {
+
+  std::string check = std::string("/usr/bin/") + basename;
+  if (access(check.c_str(), X_OK) == 0) {
+    return FileSpec(check);
+  }
+
+  return FileSpec();
 }
