This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/ppc ChangeLog emul_unix.c
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Mar 2012 05:04:18 -0000
- Subject: src/sim/ppc ChangeLog emul_unix.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2012-03-14 05:04:18
Modified files:
sim/ppc : ChangeLog emul_unix.c
Log message:
sim: ppc: fix compilation on AIX 7.1 due to st_pad name collisions
AIX 7.1 defines st_pad[123] to st_[amc]tim.tv_pad, respectively,
breaking declaration of st_pad[123] members in struct solaris_stat.
Undefine them as this is no less terrible than other solutions (like
renaming the fields and losing the binding to Solaris' names).
From: Michael Haubenwallner <haubi@s01en24.gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/ChangeLog.diff?cvsroot=src&r1=1.114&r2=1.115
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/emul_unix.c.diff?cvsroot=src&r1=1.4&r2=1.5