mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user