GDB
Switch thread
> info threads
Id Target Id Frame
1 Thread 1.1 (CPU#0 [running]) 0x0000000000000000 in ?? ()
* 2 Thread 1.2 (CPU#1 [running]) 0x0000000000000300 in ?? ()
3 Thread 1.3 (CPU#2 [running]) 0x0000000000000300 in ?? ()
4 Thread 1.4 (CPU#3 [running]) 0x0000000000000300 in ?? ()
> thread {Id}
Print program counter
> x/3i $pc
=> 0x300: mov x5, #0xd8 // #216
0x304: mrs x6, mpidr_el1
0x308: and x6, x6, #0x3