diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-08-06 15:46:39 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-08-06 15:46:39 +0000 | 
| commit | 580012d60438215d86a9e6b2a8038de964867163 (patch) | |
| tree | 18fdb87169bd2dc27ee2628a4063f0db93867739 /contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
| parent | 876f11703dabed6f07d9d7352ceb996c5ffc407f (diff) | |
Notes
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
| -rw-r--r-- | contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 1fed8e064267..b03184b41abb 100644 --- a/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -73,7 +73,9 @@  #include "lldb/Utility/Timer.h"  #include "GDBRemoteRegisterContext.h" +#ifdef LLDB_ENABLE_ALL  #include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h" +#endif // LLDB_ENABLE_ALL  #include "Plugins/Process/Utility/GDBRemoteSignals.h"  #include "Plugins/Process/Utility/InferiorCallPOSIX.h"  #include "Plugins/Process/Utility/StopInfoMachException.h" @@ -2424,6 +2426,7 @@ Status ProcessGDBRemote::DoDestroy() {    Log *log(ProcessGDBRemoteLog::GetLogIfAllCategoriesSet(GDBR_LOG_PROCESS));    LLDB_LOGF(log, "ProcessGDBRemote::DoDestroy()"); +#ifdef LLDB_ENABLE_ALL // XXX Currently no iOS target support on FreeBSD    // There is a bug in older iOS debugservers where they don't shut down the    // process they are debugging properly.  If the process is sitting at a    // breakpoint or an exception, this can cause problems with restarting.  So @@ -2527,6 +2530,7 @@ Status ProcessGDBRemote::DoDestroy() {        }      }    } +#endif // LLDB_ENABLE_ALL    // Interrupt if our inferior is running...    int exit_status = SIGABRT;  | 
