This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/20438] GDB Simulator build failure on Blackfin with older gcc: common/sim-base.h:76: error: redefinition of typedef 'SIM_CPU'


https://sourceware.org/bugzilla/show_bug.cgi?id=20438

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Michael Frysinger
<vapier@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=474a2d9f5f8a080e30812525729c3a8b7baa61d6

commit 474a2d9f5f8a080e30812525729c3a8b7baa61d6
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Aug 8 13:06:49 2016 +0800

    sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]

    The current machs.h mixes common enums with Blackfin-specific defines.
    This causes us troubles with header inclusion order such that we can't
    drop the old SIM_CPU typedef (which is duplicated in common code).  By
    splitting the two up, we can unwind this dependency chain, and drop the
    old typedef.  It also fixes building with older gcc versions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]