pytask
Select task by pid
task <pid>
This command selects the appropriate gdb thread using its Linux pid.
If no pid is specified, the current pid will be displayed.
Examples
task 1402
Kernel debugger in Python
pysys
pyvtop