commit | d0691fe6327b0edaadf907008b26c55e78c1ca2f | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Sat Jul 02 23:21:06 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Sat Jul 02 23:21:06 2011 +0000 |
tree | 2f0fba8eb98a9569a0179cdfb62bf0a01d73ebb6 | |
parent | a9eb8277e616463fcf611abb3a77a5f0831bc1b2 [diff] |
When we use the "fd://%u" for file descriptors, we need to detect if this is a file or socket. We now make a getsockopt call to check if the fd is a socket. Also, the previous logic in the GDB communication needs to watch for success with an error so we can deal with EAGAIN and other normal "retry" error codes. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134359 91177308-0d34-0410-b5e6-96231b3b80d8