From 23d2eb96f3160cd7f609b29a1269aae56e0d96b2 Mon Sep 17 00:00:00 2001 From: yushuailong Date: Sun, 6 Sep 2026 22:30:33 +0800 Subject: [PATCH] tools/pynuttx: Update the preemption field annotations. The struct tcb_s premp_* members were renamed to preemp_*, but the GDB TCB protocol retained the old annotations. Update the annotations to match the current structure field names. Assisted-by: OpenAI Codex Signed-off-by: yushuailong --- tools/pynuttx/nxgdb/protocols/thread.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/pynuttx/nxgdb/protocols/thread.py b/tools/pynuttx/nxgdb/protocols/thread.py index db89313840b..16306f34277 100644 --- a/tools/pynuttx/nxgdb/protocols/thread.py +++ b/tools/pynuttx/nxgdb/protocols/thread.py @@ -101,10 +101,10 @@ class Tcb(Value): run_start: Value run_max: Value run_time: Value - premp_start: Value - premp_max: Value - premp_caller: Value - premp_max_caller: Value + preemp_start: Value + preemp_max: Value + preemp_caller: Value + preemp_max_caller: Value crit_start: Value crit_max: Value crit_caller: Value