View All Harts in GDB and mhartid
Tonight’s @risc_v Tip:
You can list all the harts on the platform you are debugging with gdb using info threads. Switching to another hart can be done with thread <id>. A quick way to check the current hart is to display the contents of the mhartid CSR.
