[Lldb-commits] [lldb] r147592 - /lldb/trunk/source/Target/Process.cpp

Sean Callanan scallanan at apple.com
Wed Jan 4 18:00:15 PST 2012


Author: spyffe
Date: Wed Jan  4 20:00:14 2012
New Revision: 147592

URL: http://llvm.org/viewvc/llvm-project?rev=147592&view=rev
Log:
Fixed a potential hang while trying to execute
a function in the inferior.

Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=147592&r1=147591&r2=147592&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Wed Jan  4 20:00:14 2012
@@ -3796,7 +3796,7 @@
             real_timeout.OffsetWithMicroSeconds(500000);
             timeout_ptr = &real_timeout;
             
-            got_event = listener.WaitForEvent(NULL, event_sp);
+            got_event = listener.WaitForEvent(timeout_ptr, event_sp);
             if (!got_event) 
             {
                 if (log)





More information about the lldb-commits mailing list