Bump version to 19.1.0 (final)
[llvm-project.git] / lldb / test / Shell / Breakpoint / dummy-target.test
blob873a4d3adc00ceeb9f04fffe66e25fecdebbf323
1 # RUN: mkdir -p %t
2 # RUN: cd %t
3 # RUN: %build %p/Inputs/dummy-target.c -o dummy.out
4 # RUN: %lldb -b -s %s dummy.out | FileCheck %s
6 breakpoint set -D -n main
7 # CHECK: Breakpoint {{[0-9]}}: no locations (pending).
8 # CHECK: Breakpoint set in dummy target
10 breakpoint list
11 # CHECK: No breakpoints currently set
13 breakpoint list -D
14 # CHECK: name = 'main', locations = 0 (pending)
16 target delete
17 # CHECK: 1 targets deleted
19 target create dummy.out
20 # CHECK: Current executable set to {{.*}}dummy.out
22 breakpoint list
23 # CHECK: name = 'main', locations = {{[1-9]}}