Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 2, 2024
1 parent 01fb3ba commit f55e36b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_with_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ def test(debugger, command, result, internal_dict):

if state == lldb.eStateExited:
exit_status = process.GetExitStatus()
debugger.HandleCommand(f"exit {exit_status}")
sys.exit(exit_status)
elif state == lldb.eStateStopped:
thread = process.GetSelectedThread()
if thread.GetStopReason() == lldb.eStopReasonExec:
process.Continue()
continue
debugger.HandleCommand("bt all")
debugger.HandleCommand("exit 1")
sys.exit(1)


Expand Down

0 comments on commit f55e36b

Please # to comment.