This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 8eb104759502528da02cf2b4598ebb8c3a29ea5c Author: wangmingrong <wangmingr...@xiaomi.com> AuthorDate: Thu Jan 11 12:25:06 2024 +0800 gdb python tools: fix command "info thread" echo error Signed-off-by: wangmingrong <wangmingr...@xiaomi.com> --- tools/gdb/thread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gdb/thread.py b/tools/gdb/thread.py index 2aa80f9c30..a902134c62 100644 --- a/tools/gdb/thread.py +++ b/tools/gdb/thread.py @@ -145,8 +145,8 @@ class Nxinfothreads(gdb.Command): if utils.is_target_smp(): gdb.write( - "%-4s %-4s %-4s %-21s %-80s %-30s\n" - % ("Tid", "Pid", "Cpu", "Thread", "Info", "Frame") + "%-5s %-4s %-4s %-4s %-21s %-80s %-30s\n" + % ("Index", "Tid", "Pid", "Cpu", "Thread", "Info", "Frame") ) else: gdb.write("%-5s %-4s %-4s %-21s %-80s %-30s\n" % ("Index", "Tid", "Pid", "Thread", "Info", "Frame"))