diff options
author | Gary Benson <gbenson@redhat.com> | 2015-04-09 14:22:56 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-04-09 15:44:31 +0100 |
commit | 7823a9415b2919241f7a7425d9dcc3c62ada0779 (patch) | |
tree | 238d4dccfc050a06cba128899f88a6a8407feb77 /gdb/gdbserver/hostio.c | |
parent | 233723a43c5677ae6a5a8bd9c2ac54bae333fe26 (diff) | |
download | gdb-7823a9415b2919241f7a7425d9dcc3c62ada0779.zip gdb-7823a9415b2919241f7a7425d9dcc3c62ada0779.tar.gz gdb-7823a9415b2919241f7a7425d9dcc3c62ada0779.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver/hostio.c')
-rw-r--r-- | gdb/gdbserver/hostio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/hostio.c b/gdb/gdbserver/hostio.c index aa659e2..b03b5ad 100644 --- a/gdb/gdbserver/hostio.c +++ b/gdb/gdbserver/hostio.c @@ -27,7 +27,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> -#include "common-remote-fileio.h" +#include "fileio.h" extern int remote_debug; @@ -438,7 +438,7 @@ handle_fstat (char *own_buf, int *new_packet_len) return; } - remote_fileio_to_fio_stat (&st, &fst); + host_to_fileio_stat (&st, &fst); bytes_sent = hostio_reply_with_data (own_buf, (char *) &fst, sizeof (fst), |