]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix gdbserver build for x86-64 Windows
authorTom Tromey <tromey@adacore.com>
Wed, 27 Apr 2022 16:14:01 +0000 (10:14 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 27 Apr 2022 16:45:10 +0000 (10:45 -0600)
commit801eb70f9aa916650b9ca03a1d54d426a3e99f17
tree6d936c9dab64bf7aac5f17f506406d949af233a6
parent8e6afe4013fd57f92eec4659439bc6e44b0446f8
Fix gdbserver build for x86-64 Windows

I broke the gdbserver build on x86-64 Windows a little while back.
Previously, I could not build this configuration, but today I found
out that if I configure with:

    --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32

using the Fedora 34 tools, it will in fact build.  I'm not certain,
but maybe the gnulib update helped with this.

This patch fixes the build.  I'm checking it in.
gdbserver/win32-i386-low.cc
gdbserver/win32-low.cc
gdbserver/win32-low.h