aboutsummaryrefslogtreecommitdiff
path: root/lit/tools/lldb-mi/exec/exec-interrupt.test
blob: 81a3e72ee7e68ff7a6378f9f9e34dce9416fc3ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# XFAIL: windows
# -> llvm.org/pr24452
#
# RUN: %cc -o %t %p/inputs/main.c -g
# 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."