nuttx-mirror/tools/gdb
xuxingliang 9881fbae28 tools/gdb: fix thread command not working
`thread` is a GDB prefix command. Use `define` can only change it to a
user prefix command. In this case, `thread 3` is unable to pass
the argument 3 to python.

Use python code to register command to overwrite this behavior. It may
not work with future GDB, but all is good for now.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-11-25 13:37:42 +08:00
..
nuttxgdb tools/gdb: fix thread command not working 2024-11-25 13:37:42 +08:00
.gitignore tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
gdbinit.py tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
pyproject.toml tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
requirements.txt gdb/debug: add debugpy to debug python code 2024-11-25 13:37:30 +08:00