summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/config.in
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-02-09 17:29:34 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-02-09 17:29:34 +0000
commitf8255c2a40ccc45f929b4ba2f20b74c52719b1a9 (patch)
tree8b04bb3ba97de825e37f0aa4b90f8b3a42d5f9da /gdb/gdbserver/config.in
parent1916efaf84a102ab118cda679ab9bf1ba032c993 (diff)
downloadbinutils-gdb-f8255c2a40ccc45f929b4ba2f20b74c52719b1a9.tar.gz
[gdbserver] return ENOSYS if readlink not supported.
This reproduces on the GDBserver side what GDB does when readlink is not supported. gdb/gdbserver/ChangeLog: * configure.ac: Add readlink to AC_CHECK_FUNCS list. * configure, config.in: Regenerate. * hostio.c: Provide an alternate implementation if HAVE_READLINK is not defined.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r--gdb/gdbserver/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index a9472eaa4fc..7fa3b5b21e3 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -128,6 +128,9 @@
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
+/* Define to 1 if you have the `readlink' function. */
+#undef HAVE_READLINK
+
/* Define to 1 if you have the <sgtty.h> header file. */
#undef HAVE_SGTTY_H