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:51:33 +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 #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.12-branch branch has been updated by Michael Frysinger
<vapier@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=253daf2f8e1d136d8bfd591d711e63832f507235
commit 253daf2f8e1d136d8bfd591d711e63832f507235
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.