]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/rx/ChangeLog
Build failure in sim/rx/gdb-if.c on windows
authorJoel Brobecker <brobecker@adacore.com>
Thu, 15 Jan 2015 03:14:45 +0000 (07:14 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Thu, 15 Jan 2015 03:21:50 +0000 (07:21 +0400)
commita300380e12ca04a6cb900e9bfd26161b3fe56ed8
tree5a4063f785dc0dcfab1f927e2a137506d1091a7c
parent10b8fe5e0eac145ff075f16872d6cbef7883ec37
Build failure in sim/rx/gdb-if.c on windows

This should fix a build failure reported on x86_64-mingw32 by Daniel
Calcoen due to conflicting declarations of "open".  This patch just
renames the static global in sim/rx/gdb-if.c into "rx_sim_is_open".

sim/rx/ChangeLog:

* gdb-if.c (open): Rename to...
(rx_sim_is_open): This. Replace all uses of "open" by uses of
"rx_sim_is_open" throughout.

Tested by rebuilding on x86_64-linux.
sim/rx/ChangeLog
sim/rx/gdb-if.c