blob: 2c063236d7f5c70b41cc337165490fb3ed9b2bba [file] [log] [blame]
# RUN: %build %p/inputs/main.c --nodefaultlib -o %t
# RUN: %lldbmi %t < %s | FileCheck %s
# Test lldb-mi -exec-interrupt command.
# Check that we have a valid target created via '%lldbmi %t'.
# CHECK: ^done
-break-insert main
# CHECK: ^done,bkpt={number="1"
-exec-run
# CHECK: ^running
# CHECK: *stopped,reason="breakpoint-hit"
-exec-interrupt
# CHECK: ^error,msg="Process is not running."