Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information