[Lldb-commits] [lldb] r204759 - Make ProcessLinux return true for DetachRequiresHalt() because PTRACE_DETACH requires this.

Andrew MacPherson andrew.macp at gmail.com
Tue Mar 25 14:40:04 PDT 2014


Author: andrewmacp
Date: Tue Mar 25 16:40:04 2014
New Revision: 204759

URL: http://llvm.org/viewvc/llvm-project?rev=204759&view=rev
Log:
Make ProcessLinux return true for DetachRequiresHalt() because PTRACE_DETACH requires this.

Modified:
    lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h

Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h?rev=204759&r1=204758&r2=204759&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.h Tue Mar 25 16:40:04 2014
@@ -58,6 +58,9 @@ public:
     DoDetach(bool keep_stopped);
 
     virtual bool
+    DetachRequiresHalt() { return true; }
+
+    virtual bool
     UpdateThreadList(lldb_private::ThreadList &old_thread_list, lldb_private::ThreadList &new_thread_list);
 
     //------------------------------------------------------------------





More information about the lldb-commits mailing list