xref: /llvm-project/lldb/test/Shell/Commands/command-thread-select.test (revision 4deea65249d5df2965d4df90ec9cf221bcf9a13e)
1# RUN: %clang_host -g %S/Inputs/main.c -o %t
2# RUN: %lldb %t -s %s -o exit | FileCheck %s
3
4b main
5# CHECK-LABEL: b main
6# CHECK: Breakpoint 1: where = {{.*}}`main
7
8run
9# CHECK-LABEL: run
10# CHECK: Process {{.*}} stopped
11# CHECK: stop reason = breakpoint 1
12# CHECK:   frame #0: {{.*}}`main at main.c
13
14thread select 1
15# CHECK-LABEL: thread select 1
16# CHECK: stop reason = breakpoint 1
17# CHECK:   frame #0: {{.*}}`main at main.c
18