From 7823a9415b2919241f7a7425d9dcc3c62ada0779 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Thu, 9 Apr 2015 14:22:56 +0100 Subject: 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/gdbserver/hostio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdbserver/hostio.c') 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 #include #include -#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), -- cgit v1.1