[PATCH] Adjust nios2 and m68k semihosting for sys/stat.h changes.

Corinna Vinschen vinschen@redhat.com
Mon Sep 2 08:36:00 GMT 2019

Hi Sandra,

On Sep  1 17:52, Sandra Loosemore wrote:
> Commit 72ff9acad2ab54e80a19ddaec0106065c817e3f6 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 all the fields of struct gdb_stat.

Commit d0651704411d fixes this by only renaming the st_Xtime fields
in struct gdb_stat to st_Xtim.  Maybe that's an option for you, too?
Otherwise we have multiple different names in an otherwise identical


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190902/5535b9e7/attachment.sig>

More information about the Newlib mailing list