aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-thread-select.test
blob: 3b48452eea826493bc2a9e1ed8b27121686ce600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: %clang_host -g %S/Inputs/main.c -o %t
# RUN: %lldb %t -s %s -o exit | FileCheck %s

b main
# CHECK-LABEL: b main
# CHECK: Breakpoint 1: where = {{.*}}`main

run
# CHECK-LABEL: run
# CHECK: Process {{.*}} stopped
# CHECK: stop reason = breakpoint 1
# CHECK:   frame #0: {{.*}}`main at main.c

thread select 1
# CHECK-LABEL: thread select 1
# CHECK: stop reason = breakpoint 1
# CHECK:   frame #0: {{.*}}`main at main.c