Rename common-remote-fileio.[ch] as fileio.[ch]
authorGary Benson <gbenson@redhat.com>
Thu, 9 Apr 2015 13:22:56 +0000 (14:22 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 9 Apr 2015 14:44:31 +0000 (15:44 +0100)
commit7823a9415b2919241f7a7425d9dcc3c62ada0779
tree238d4dccfc050a06cba128899f88a6a8407feb77
parent233723a43c5677ae6a5a8bd9c2ac54bae333fe26
Rename common-remote-fileio.[ch] as fileio.[ch]

This commit renames common-remote-fileio.[ch] as fileio.[ch]
and renames all functions in these files.

gdb/ChangeLog:

* common/common-remote-fileio.h: Rename to...
* common/fileio.h: ...this.  Update all references.
(remote_fileio_to_fio_error): Rename to...
(host_to_fileio_error): ...this.
(remote_fileio_to_be): Rename to...
(host_to_bigendian): ...this.  Update all callers.
(remote_fileio_to_fio_uint): Rename to...
(host_to_fileio_uint): ...this.  Update all callers.
(remote_fileio_to_fio_time): Rename to...
(host_to_fileio_time): ...this.  Update all callers.
(remote_fileio_to_fio_stat): Rename to...
(host_to_fileio_stat): ...this.
Update all references.
* common/common-remote-fileio.c: Rename to...
* common/fileio.c: ...this.  Update all references.
(remote_fileio_to_fio_error): Rename to...
(host_to_fileio_error): ...this.  Update all callers.
(remote_fileio_mode_to_target): Rename to...
(fileio_mode_pack): ...this.  Update all callers.
(remote_fileio_to_fio_mode): Rename to...
(host_to_fileio_mode): ...this.  Update all callers.
(remote_fileio_to_fio_ulong): Rename to...
(host_to_fileio_ulong): ...this.  Update all callers.
(remote_fileio_to_fio_stat): Rename to...
(host_to_fileio_stat): ...this.  Update all callers.
gdb/ChangeLog
gdb/Makefile.in
gdb/common/fileio.c [moved from gdb/common/common-remote-fileio.c with 68% similarity]
gdb/common/fileio.h [moved from gdb/common/common-remote-fileio.h with 56% similarity]
gdb/gdbserver/Makefile.in
gdb/gdbserver/hostio-errno.c
gdb/gdbserver/hostio.c
gdb/inf-child.c
gdb/remote-fileio.c
gdb/remote-fileio.h