Uros Bizjak <ubiz...@gmail.com> writes: > Yes, I am running under gdb and all FDs are offset by +4 for some > reason. So, FD 8 corresponds to FD4 in the strace log.
This is normal, gdb is leaking some fds to the inferior (which is a bug). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."