1 # RUN: %lldb -b -s %s -c %p/Inputs/x86-32-freebsd-multithread.core | FileCheck %s
4 # CHECK: * thread #1: tid = 100761, 0x00402ed1, name = 'a.out', stop reason = signal SIGSEGV
5 # CHECK-NEXT: thread #2: tid = 100744, 0x2057f78b, name = 'a.out', stop reason = signal SIGSEGV
6 # CHECK-NEXT: thread #3: tid = 100762, 0x00402edc, name = 'a.out', stop reason = signal SIGSEGV
7 # CHECK-NEXT: thread #4: tid = 100763, 0x00402edc, name = 'a.out', stop reason = signal SIGSEGV
11 # CHECK-DAG: ecx = 0x04040404
12 # CHECK-DAG: edx = 0x03030303
13 # CHECK-DAG: edi = 0x01010101
14 # CHECK-DAG: esi = 0x02020202
15 # CHECK-DAG: st4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x00 0x40}
16 # CHECK-DAG: st5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x01 0x40}
17 # CHECK-DAG: st6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x02 0x40}
18 # CHECK-DAG: st7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x03 0x40}
21 # CHECK: (lldb) thread select 3
23 # CHECK-DAG: ecx = 0x14141414
24 # CHECK-DAG: edx = 0x13131313
25 # CHECK-DAG: edi = 0x11111111
26 # CHECK-DAG: esi = 0x12121212
27 # CHECK-DAG: st4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0x00 0x40}
28 # CHECK-DAG: st5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0x01 0x40}
29 # CHECK-DAG: st6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x90 0x02 0x40}
30 # CHECK-DAG: st7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0x02 0x40}
33 # CHECK: (lldb) thread select 4
35 # CHECK-DAG: ecx = 0x24242424
36 # CHECK-DAG: edx = 0x23232323
37 # CHECK-DAG: edi = 0x21212121
38 # CHECK-DAG: esi = 0x22222222
39 # CHECK-DAG: st4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xa0 0x01 0x40}
40 # CHECK-DAG: st5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xa0 0x02 0x40}
41 # CHECK-DAG: st6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf0 0x02 0x40}
42 # CHECK-DAG: st7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xa0 0x03 0x40}