[tools] Fix gdb j6threads not listing blocked threads

A typo was keeping j6threads from listing the blocked threads list on a
run queue.
This commit is contained in:
Justin C. Miller
2022-01-30 20:34:34 -08:00
parent da5c1e9833
commit 5e1e056623

View File

@@ -216,7 +216,7 @@ class GetThreadsCommand(gdb.Command):
self.print_thread_list(ready, f"PRIORITY {pri}") self.print_thread_list(ready, f"PRIORITY {pri}")
blocked = int(gdb.parse_and_eval(f"{runlist}.blocked.m_head")) blocked = int(gdb.parse_and_eval(f"{runlist}.blocked.m_head"))
self.print_thread_list(ready, "BLOCKED") self.print_thread_list(blocked, "BLOCKED")
PrintStackCommand() PrintStackCommand()
PrintBacktraceCommand() PrintBacktraceCommand()