[gdbserver] return ENOSYS if readlink not supported.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 9 Feb 2012 17:29:34 +0000 (17:29 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 9 Feb 2012 17:29:34 +0000 (17:29 +0000)
commitf8255c2a40ccc45f929b4ba2f20b74c52719b1a9
tree8b04bb3ba97de825e37f0aa4b90f8b3a42d5f9da
parent1916efaf84a102ab118cda679ab9bf1ba032c993
[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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/hostio.c