[Lldb-commits] [PATCH] Fix SBTarget::Launch's stop_at_entry which is ignored

Zachary Turner zturner at google.com
Mon Feb 2 10:51:58 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7271

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

Index: lldb/trunk/source/API/SBTarget.cpp
===================================================================
--- lldb/trunk/source/API/SBTarget.cpp
+++ lldb/trunk/source/API/SBTarget.cpp
@@ -729,6 +729,9 @@
     {
         Mutex::Locker api_locker (target_sp->GetAPIMutex());
 
+        if (stop_at_entry)
+            launch_flags |= eLaunchFlagStopAtEntry;
+
         if (getenv("LLDB_LAUNCH_FLAG_DISABLE_ASLR"))
             launch_flags |= eLaunchFlagDisableASLR;

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7271.19166.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150202/db8c3ee5/attachment.bin>


More information about the lldb-commits mailing list