Ah, misunderstood Jonas' feedback - fix this so we'll
do the right thing when both API are available.  We
want to try both of them if the first one fails.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@354288 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/debugserver/source/MacOSX/MachProcess.mm b/tools/debugserver/source/MacOSX/MachProcess.mm
index e54fc65..7aa3ec3 100644
--- a/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -3927,7 +3927,8 @@
       found_app_flavor = true;
       m_flags |= eMachProcessFlagsUsingFBS;
     }
-#elif defined(WITH_BKS)
+#endif
+#if defined(WITH_BKS)
     if (!found_app_flavor && IsBKSProcess(m_pid)) {
       found_app_flavor = true;
       m_flags |= eMachProcessFlagsUsingBKS;