]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix x86_64 mingw build
authorTom Tromey <tromey@adacore.com>
Mon, 3 May 2021 14:57:46 +0000 (08:57 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 3 May 2021 18:40:19 +0000 (12:40 -0600)
commit8228833924fa3c92a436a5f938a94dae180773f9
treef5989b5a31d5d890080ea977d3531ab6ba8d5583
parentf08708cbf59ec153eac33d7a2a99ef99f1ca825a
Fix x86_64 mingw build

PR build/27807 points out that my recent changes to the Windows port
missed a spot in win32-i386-low.cc -- a call to
win32_Wow64GetThreadContext remained, causing link errors in
gdbserver.  This happened because I tested an i686 build, but this
code is only used on an x86_64 build.

This patch fixes the bug.  I am checking it in.

gdbserver/ChangeLog
2021-05-03  Tom Tromey  <tromey@adacore.com>

PR build/27807:
* win32-i386-low.cc (i386_get_thread_context): Call
Wow64GetThreadContext, not win32_Wow64GetThreadContext.
gdbserver/ChangeLog
gdbserver/win32-i386-low.cc