[Lldb-commits] [lldb] r201724 - Disable breakpoint sites upon detach on FreeBSD

Ed Maste emaste at freebsd.org
Wed Feb 19 14:12:57 PST 2014


Author: emaste
Date: Wed Feb 19 16:12:57 2014
New Revision: 201724

URL: http://llvm.org/viewvc/llvm-project?rev=201724&view=rev
Log:
Disable breakpoint sites upon detach on FreeBSD

llvm.org/pr18894

Modified:
    lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp

Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp?rev=201724&r1=201723&r2=201724&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp Wed Feb 19 16:12:57 2014
@@ -132,6 +132,8 @@ ProcessFreeBSD::DoDetach(bool keep_stopp
         return error;
     }
 
+    DisableAllBreakpointSites();
+
     error = m_monitor->Detach(GetID());
 
     if (error.Success())





More information about the lldb-commits mailing list