From 2dae11461d0c03de1bac20fb653daaee84d3a99d Mon Sep 17 00:00:00 2001 From: guoshengyuan1 Date: Tue, 19 Aug 2025 20:32:52 +0800 Subject: [PATCH] nxgdb: change the symbol g_statenames to nxsched_get_stateinfo::g_statenames I0680e48d8ff8847c8712e1a54efe32d320e7c84d changes the scope of the symbol definition. So nxgdb needs to synchronize this modification. Signed-off-by: guoshengyuan1 --- tools/pynuttx/nxgdb/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pynuttx/nxgdb/thread.py b/tools/pynuttx/nxgdb/thread.py index 1e45a307acf..d7ca0a8221b 100644 --- a/tools/pynuttx/nxgdb/thread.py +++ b/tools/pynuttx/nxgdb/thread.py @@ -216,7 +216,7 @@ class Nxinfothreads(gdb.Command): def invoke(self, args, from_tty): npidhash = gdb.parse_and_eval("g_npidhash") pidhash = gdb.parse_and_eval("g_pidhash") - statenames = gdb.parse_and_eval("g_statenames") + statenames = gdb.parse_and_eval("nxsched_get_stateinfo::g_statenames") if utils.is_target_smp(): gdb.write(