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

Ilia K ki.stfu at gmail.com
Thu Jan 29 14:47:39 PST 2015


This patch fixes stop_at_entry flags in SBTarget::Launch(). Currently this flag is ignored.
I'm not sure that this arg is required but we have to fix it if it exists.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7271

Files:
  source/API/SBTarget.cpp

Index: source/API/SBTarget.cpp
===================================================================
--- source/API/SBTarget.cpp
+++ 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.18994.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150129/7ab6fee8/attachment.bin>


More information about the lldb-commits mailing list