1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/tools
xuxingliang 03a38fa633 gdb/fs: handle special inode of epoll, eventfd etc.
Those inodes have no name, handle them so the path can correctly show.
Add FILEP output so we can investigate furthure manually.
Change OFLAGS to hex output and increase word space.

E.g.
(gdb) fdinfo -p 120
PID: 120
FD  FILEP       OFLAGS      POS       PATH                                            BACKTRACE
0   0x40807f08  0x3         0         /dev/console
1   0x40807f30  0x3         0         /dev/console
2   0x40807f58  0x3         0         /dev/console
3   0x40807f80  0x400       0         epoll
4   0x40807fa8  0x443       0         eventfd
5   0x40807fd0  0x403       0         sock
6   0x40807ff8  0x403       0         sock
7   0x40808020  0x403       0         sock
8   0x40892520  0x403       0         sock
9   0x40892548  0x403       0         sock
10  0x40892570  0x403       0         sock
11  0x40892598  0x403       0         sock
12  0x408925c0  0x403       0         sock
13  0x408925e8  0x403       0         sock
14  0x40892610  0x403       0         sock
15  0x40892638  0x403       0         sock
16  0x40942a20  0x403       0         sock

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-11-24 17:52:42 +08:00
..
bl602 Documentation/bl602: Update some imformation; Add partition.toml in tool/bl602 2021-07-27 21:01:15 -07:00
ci boards/stm32: split nucleo-f4x1re into separate boards 2024-11-19 13:28:42 +01:00
cxd56 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32c3 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32s2 tools/espressif: add esptool version check to Espressif build system 2024-10-15 20:42:57 +02:00
esp32s3 tools/esp32s3/Config.mk: fix "printf:`\': invalid format character" 2024-10-22 08:54:15 +08:00
espressif riscv/espressif/bootloader/mcuboot: Sign image with MCUBoot version 2024-11-13 20:28:17 +01:00
gdb gdb/fs: handle special inode of epoll, eventfd etc. 2024-11-24 17:52:42 +08:00
imx9 tools/imx9: Add norimage support to bootloader 2024-11-22 18:53:21 +08:00
licensing tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lwl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mpfs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
pic32 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
rp23xx follow upstream change & fix minor things 2024-11-20 16:32:05 -03:00
rp2040 tools/rp2040: Building picotool if necessary 2024-11-11 10:38:58 +08:00
simwifi tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zds tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
b16.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
bdf-converter.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
btdecode.sh tools/btdecode.sh: add optional elf file parameter 2024-09-30 08:44:18 +08:00
build-globals.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
callstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgdefine.c Simplify BOARD_MEMORY_RANGE initialization logic 2024-10-09 15:41:48 +08:00
cfgdefine.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
checkpatch.sh tools/checkpatch: fix isort doesn't return error 2024-10-18 21:30:13 +08:00
checkrelease.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
CMakeLists.txt cmake:add cmake host tool mkdeps incdir 2024-10-31 17:55:13 +08:00
cmpconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cnvwindeps.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Config.mk gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
configure.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.sh tools/configure.sh: add relative path 2024-10-12 14:27:58 +08:00
configure_completion.bash tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
convert-comments.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
coredump.py coredump.py:bug fix python file not have rename 2024-10-30 12:29:22 +08:00
csvparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
csvparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
D.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
detab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Directories.mk libbuitin/compiler_rt: Supports separate builtin rt.builtins or rt.profile 2024-11-12 16:12:53 +08:00
discover.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
doreleasenotes.py tools/doreleasenotes 2024-09-25 01:38:04 +08:00
Export.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
flash_writer.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
FlatLibs.mk libbuitin/compiler_rt: Supports separate builtin rt.builtins or rt.profile 2024-11-12 16:12:53 +08:00
gcov.sh tools/gcov: ignore lcov error 2024-10-10 22:55:46 +08:00
gcov_convert.py libs: add gcov framework support 2024-11-22 19:08:08 +08:00
gdbserver.py get g_tcbinfo just use elf memory 2024-11-14 13:30:34 +08:00
gencromfs.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
ide_exporter.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
indent.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
initialconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
jlink-nuttx.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kasan_global.py mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
kconfig.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kconfig2html.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
KernelLibs.mk libbuitin/compiler_rt: Supports separate builtin rt.builtins or rt.profile 2024-11-12 16:12:53 +08:00
LibTargets.mk clang:libclang_rt.builtins-xxx.a supports builtin 2024-10-28 16:38:45 +08:00
link.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
link.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lowhex.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
macar-qcs.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Make.defs tools: Rename apps-or-nuttx-Make.defs to Make.defs 2024-10-17 07:55:02 +08:00
Makefile.host tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
merge_config.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfigvars.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkctags.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkdeps.c tools/mkdeps: increase MAX_BUFFER from 16384 to 65536 2024-10-31 08:55:07 +08:00
mkexport.sh binfmt/libelf:Remove libelf implementation [2/2] 2024-10-12 12:29:06 +08:00
mkfsdata.pl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkfsdata.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mknulldeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkromfsimg.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksymtab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksyscall.c tools/syscall: Resolve compile time warning on address validation. 2023-06-28 08:47:07 +08:00
mkversion.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkwindeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
netusb.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
noteinfo.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
nxstyle.c clang: Support compiling rt.profile library 2024-10-30 17:10:23 +08:00
parsecallstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsememdump.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsetrace.py tools: fix parsetrace.py output 2024-10-18 10:29:48 +08:00
pre-commit tools: add git pre-commit hook based on checkpatch.sh 2023-05-03 14:42:34 +02:00
process_config.sh macos : fix “sed: -I or -i may not be used with stdin” 2024-11-04 22:40:29 +08:00
ProtectedLibs.mk libbuitin/compiler_rt: Supports separate builtin rt.builtins or rt.profile 2024-11-12 16:12:53 +08:00
refresh.sh tools/refresh.sh:skip config check on debug configs 2024-10-30 22:14:40 +08:00
rmcr.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Rust.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
sethost.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
showsize.sh tools/showsize.sh: support pass custom nuttx executable 2024-10-13 02:11:12 +08:00
showstack.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simbridge.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simhostroute.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simlaunch.sh sim:support sim elf and dynamic libs package in post build 2024-11-06 01:56:44 +08:00
size_report.py fix: TreeNode has same attribute with NodeMixin 2023-10-09 17:51:01 -04:00
stm32_pinmap_tool.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Swift.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
testbuild.sh cmake: Renamed savedefconfig with refreshsilent 2024-10-18 22:14:50 +08:00
toolchain.cmake.export Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
uncrustify.cfg tools/uncrustify: disable leading space removal for block comment 2024-04-16 19:10:08 +08:00
Unix.mk macos : fix “sed: -I or -i may not be used with stdin” 2024-11-04 22:40:29 +08:00
unlink.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
unlink.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
version.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Win.mk tools/Unix.mk:make incdir precedence over other targets 2024-10-30 22:14:40 +08:00
xmlrpc_test.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Zig.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zipme.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00