[Lldb-commits] [lldb] r227833 - Make SBTarget::Launch() respect the stop_at_entry argument.

Zachary Turner zturner at google.com
Mon Feb 2 10:50:01 PST 2015


Author: zturner
Date: Mon Feb  2 12:50:01 2015
New Revision: 227833

URL: http://llvm.org/viewvc/llvm-project?rev=227833&view=rev
Log:
Make SBTarget::Launch() respect the stop_at_entry argument.

Patch by Ilia K
Differential Revision: http://reviews.llvm.org/D7271

Modified:
    lldb/trunk/source/API/SBTarget.cpp

Modified: lldb/trunk/source/API/SBTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBTarget.cpp?rev=227833&r1=227832&r2=227833&view=diff
==============================================================================
--- lldb/trunk/source/API/SBTarget.cpp (original)
+++ lldb/trunk/source/API/SBTarget.cpp Mon Feb  2 12:50:01 2015
@@ -729,6 +729,9 @@ SBTarget::Launch
     {
         Mutex::Locker api_locker (target_sp->GetAPIMutex());
 
+        if (stop_at_entry)
+            launch_flags |= eLaunchFlagStopAtEntry;
+
         if (getenv("LLDB_LAUNCH_FLAG_DISABLE_ASLR"))
             launch_flags |= eLaunchFlagDisableASLR;
 





More information about the lldb-commits mailing list