fix lldb status checking

This commit is contained in:
Alexandre Gomes 2014-10-06 13:36:31 +01:00
parent e2f436ad52
commit bf5a1e065e

View File

@ -77,7 +77,7 @@ def connect_command(debugger, command, result, internal_dict):\n\
listener = lldb.target.GetDebugger().GetListener()\n\
listener.StartListeningForEvents(process.GetBroadcaster(), lldb.SBProcess.eBroadcastBitStateChanged)\n\
events = []\n\
state = lldb.eStateInvalid\n\
state = (process.GetState() or lldb.eStateInvalid)\n\
while state != lldb.eStateConnected:\n\
event = lldb.SBEvent()\n\
if listener.WaitForEvent(1, event):\n\