debugging - When using gdb to debug program, Is there any command output file descriptor information? -


when use gdb debug program, want file descriptor information debugging progress. use "info file", "info proc" commands, these command outputs don't include file descriptor information. there command output file descriptor information when using gdb? in advance!

is there command output file descriptor information when using gdb?

this os-dependenent.

on linux, ls -l /proc/$pid/fd/ helpful.

gdb doesn't track inferior process's file descriptors.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -