diff options
Diffstat (limited to 'debuginfo-tests')
-rw-r--r-- | debuginfo-tests/llgdb.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debuginfo-tests/llgdb.py b/debuginfo-tests/llgdb.py index 3bd25bf52ca..9826b747af7 100644 --- a/debuginfo-tests/llgdb.py +++ b/debuginfo-tests/llgdb.py @@ -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) |