Adjust nios2 and m68k semihosting for sys/stat.h changes.
Commit 72ff9acad2
caused st_atime,
st_ctime, and st_mtime to be defined as macros. This collided with
use of these identifiers as field names in struct gdb_stat (which
represents the GDB RSP encoding of struct stat) in libgloss
semihosting support for nios2 and m68k. This patch renames the
affected fields of struct gdb_stat.
Signed-off-by: Sandra Loosemore <sandra@codesourcery.com>
This commit is contained in:
committed by
Corinna Vinschen
parent
7630c77026
commit
fa29288ef1
@@ -58,9 +58,9 @@ struct gdb_stat {
|
||||
uint64_t st_size; /* total size, in bytes */
|
||||
uint64_t st_blksize; /* blocksize for filesystem I/O */
|
||||
uint64_t st_blocks; /* number of blocks allocated */
|
||||
gdb_time_t st_atime; /* time of last access */
|
||||
gdb_time_t st_mtime; /* time of last modification */
|
||||
gdb_time_t st_ctime; /* time of last change */
|
||||
gdb_time_t st_atim; /* time of last access */
|
||||
gdb_time_t st_mtim; /* time of last modification */
|
||||
gdb_time_t st_ctim; /* time of last change */
|
||||
};
|
||||
|
||||
struct gdb_timeval {
|
||||
|
Reference in New Issue
Block a user