aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-10-29 13:22:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-10-29 13:22:42 -0400
commit7f53228719a0111e41c66da6c9c3b2ed1fd2aab9 (patch)
tree85d0315bbae452997fdac02144d5c1044b707375 /gdb/common
parent30a7953dbfe3659c7bdc5b9b4c96f46903cb0254 (diff)
downloadgdb-7f53228719a0111e41c66da6c9c3b2ed1fd2aab9.zip
gdb-7f53228719a0111e41c66da6c9c3b2ed1fd2aab9.tar.gz
gdb-7f53228719a0111e41c66da6c9c3b2ed1fd2aab9.tar.bz2
Revert "GDB: Only build for "unix:" connections if AF_LOCAL is supported."
This reverts commit 98a17ece013cb94cd602496b9efb92b8816b3953.
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/netstuff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/common/netstuff.c b/gdb/common/netstuff.c
index 56bcdfc..11182c1 100644
--- a/gdb/common/netstuff.c
+++ b/gdb/common/netstuff.c
@@ -145,9 +145,7 @@ parse_connection_spec (const char *spec, struct addrinfo *hint)
{ "tcp4:", AF_INET, SOCK_STREAM },
{ "udp6:", AF_INET6, SOCK_DGRAM },
{ "tcp6:", AF_INET6, SOCK_STREAM },
-#if HAVE_AF_LOCAL
{ "unix:", AF_LOCAL, SOCK_STREAM },
-#endif
};
for (const host_prefix prefix : prefixes)