This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
sim/rx/gdb-if.c variable name collision
- From: Daniel Calcoen <Daniel dot Calcoen at cern dot ch>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 14 Jan 2015 21:31:52 +0000
- Subject: sim/rx/gdb-if.c variable name collision
- Authentication-results: sourceware.org; auth=none
- References: <46996EF9723066478746F941CF170BB8D78703EB at CERNXCHG44 dot cern dot ch>
I built binutils (from master) for linux without problems.
When I try to build the same source/target but now using x64-mingw32 I get a name collision with a local variable name “open” declared in line 64 of/sim/rx/gdb-if.c,
used in lines 64,82 and 101.
Could this variable be renamed? And commited?
Once renamed the compilation went fine.
I'm not aware of the naming conventions used by gdb people this is why I didn't propose a patch.
Daniel