I want to debug the TLS variable (Thread Local Storage variable) in the gdb.
For the X86, I can the the TCB by command print $fs_base.
For the aarch64, the corresponding register is tpidr_el0. But I can find the command to get the value of this register.
info registers info registers all
After updating gdb to ver 14, I can get TCB by
print $tpidr