xuxingliang
00304a18ed
nxgdb/fs: fix exception when failed to parse symbol
...
Parse struct fields to determine array length.
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2025-06-13 20:37:04 +08:00
dongjiuzhu1
7927c8d105
tools/pynuttx: update fs.py base on new structure fd and file
...
Update the Python script based on the PR "Separate file
descriptors from file descriptions" in fs/vfs.
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2025-06-12 18:12:42 +08:00
Lars Kruse
3ce85ca54e
style: fix spelling in code comments and strings
2025-05-23 10:48:41 +08:00
xuxingliang
8995e5a66e
nxgdb/fs: simplify inode print and add more options
...
Use Inode.__repr__ for print and use single line for all information.
Add 'verbose' and 'nodetype' option to show more details and only print specifiy node type like PIPE.
Add / to name for pseudodir.
Catch memory error when accessing node element.
E.g.
(gdb) foreach inode --nodetype pipe
├── run/ 0x41a27a50 PSEUDODIR
│ ├── bt:bluetoothCS1fd26 0x4530c510 PIPE
│ ├── bt:bluetoothCS20 0x42daae40 PIPE
│ ├── socketpair0x457fd2e0SC20540 0x44ea27b0 PIPE
│ └── tmp/ 0x42dd7cf0 PSEUDODIR
│ │ └── usock/ 0x42dd6c10 PSEUDODIR
│ │ └── speech.usockHD 0x42dc8270 PIPE
│ ├── central_lite.socketCS5e 0x42e1e7b0 PIPE
│ ├── central_service_lite.socketSC86 0x432ee6d0 PIPE
│ │ └── usock/ 0x43d6ed60 PSEUDODIR
│ │ └── speech.usockHD 0x43da2ba0 PIPE
│ ├── uv-feature-sockSC8d 0x43540430 PIPE
│ ├── uv-miot-sockCS54 0x42e272e0 PIPE
│ └── uv-miot-sockSC54 0x42e270b0 PIPE
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2025-02-03 09:21:26 +01:00
xuxingliang
dc5251f9c8
nxgdb/fs: use default args
...
Instead of storing it to self
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2025-02-03 09:21:26 +01:00
yinshengkai
50fb43e23b
tools: rename tools/gdb/nuttxgdb to tools/pynuttx/nxgdb
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2025-02-02 14:02:24 +08:00