ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:47:32 +0000 (09:47 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:47:32 +0000 (09:47 +0000)
commitb9e7b9c3de60f6aef716ac169d82418ea27d4331
treed50dcabd991b1b7fa639b51eba142bd39db2f4b8
parent7313baad7c73664bed62b87481cbb078d71e84f4
ChangeLog:

* configure.ac [AC_CHECK_FUNCS]: Check for readlink.
* config.in, configure: Regenerate.

* target.h (struct target_ops): Add to_fileio_readlink.
(target_fileio_readlink): Add prototype.
* target.c (target_fileio_readlink): New function.

* inf-child.c: Conditionally include <sys/param.h>.
(inf_child_fileio_readlink): New function.
(inf_child_target): Install it.

* remote.c (PACKET_vFile_readlink): New enum value.
(remote_hostio_readlink): New function.
(init_remote_ops): Install it.
(_initialize_remote): Handle vFile:readlink packet type.

doc/ChangeLog:

* gdb.texinfo (Remote Configuration): Document
"set remote hostio-readlink-packet" command.
(General Query Packets): Document vFile:readlink packet.

gdbserver/ChangeLog:

* hostio.c (handle_readlink): New function.
(handle_vFile): Call it to handle "vFile:readlink" packets.
12 files changed:
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/gdbserver/ChangeLog
gdb/gdbserver/hostio.c
gdb/inf-child.c
gdb/remote.c
gdb/target.c
gdb/target.h