18 lines
395 B
Plaintext
18 lines
395 B
Plaintext
# 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."
|