Implement vFile:fstat: in gdbserver
authorGary Benson <gbenson@redhat.com>
Wed, 11 Mar 2015 17:53:57 +0000 (17:53 +0000)
committerGary Benson <gbenson@redhat.com>
Wed, 11 Mar 2015 17:53:57 +0000 (17:53 +0000)
commitaa9e327f1e8552cd47cc8f4b9daa782930469e60
treec9ce4249a117987bf6682e8a10028b2f59e89df3
parent0a93529c56714b1da3d7106d3e0300764f8bb81c
Implement vFile:fstat: in gdbserver

This commit implements the "vFile:fstat:" packet in gdbserver.

gdb/gdbserver/ChangeLog:

* hostio.c (sys/types.h): New include.
(sys/stat.h): Likewise.
(common-remote-fileio.h): Likewise.
(handle_fstat): New function.
(handle_vFile): Handle vFile:fstat packets.
* server.c (handle_query): Report vFile:fstat as supported.
gdb/gdbserver/ChangeLog
gdb/gdbserver/hostio.c
gdb/gdbserver/server.c