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
Post a Comment