From 5e1e05662329eca5dfb909cd4f5a8e1bbd196e5e Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Sun, 30 Jan 2022 20:34:34 -0800 Subject: [PATCH] [tools] Fix gdb j6threads not listing blocked threads A typo was keeping j6threads from listing the blocked threads list on a run queue. --- assets/debugging/jsix.elf-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/debugging/jsix.elf-gdb.py b/assets/debugging/jsix.elf-gdb.py index e10274c..fe4f865 100644 --- a/assets/debugging/jsix.elf-gdb.py +++ b/assets/debugging/jsix.elf-gdb.py @@ -216,7 +216,7 @@ class GetThreadsCommand(gdb.Command): self.print_thread_list(ready, f"PRIORITY {pri}") blocked = int(gdb.parse_and_eval(f"{runlist}.blocked.m_head")) - self.print_thread_list(ready, "BLOCKED") + self.print_thread_list(blocked, "BLOCKED") PrintStackCommand() PrintBacktraceCommand()