forked from OSchip/llvm-project
Properly shutdown lldb by invoking SBDebugger_Terminate()
rdar://problem/18577039 llvm-svn: 219451
This commit is contained in:
parent
b63c251894
commit
32cac2e062
|
@ -142,12 +142,14 @@ NOTE: There are several resons why this may happen:
|
|||
print frame.EvaluateExpression(' '.join(cmd[1:]))
|
||||
|
||||
elif re.match('^q|(quit)$', cmd[0]):
|
||||
lldb.SBDebugger_Terminate()
|
||||
sys.exit(0)
|
||||
|
||||
else:
|
||||
print debugger.HandleCommand(' '.join(cmd))
|
||||
|
||||
except SystemExit, e: raise e
|
||||
except SystemExit, e:
|
||||
raise e
|
||||
except:
|
||||
print 'Could not handle the command "%s"' % ' '.join(cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue