This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/20438] GDB Simulator build failure on Blackfin with older gcc: common/sim-base.h:76: error: redefinition of typedef 'SIM_CPU'
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 13 Aug 2016 19:48:31 +0000
- Subject: [Bug sim/20438] GDB Simulator build failure on Blackfin with older gcc: common/sim-base.h:76: error: redefinition of typedef 'SIM_CPU'
- Auto-submitted: auto-generated
- References: <bug-20438-4717@http.sourceware.org/bugzilla/>
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.