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.
+2021-05-03 Tom Tromey <tromey@adacore.com>
+
+ PR build/27807:
+ * win32-i386-low.cc (i386_get_thread_context): Call
+ Wow64GetThreadContext, not win32_Wow64GetThreadContext.
+
2021-04-30 Tom Tromey <tromey@adacore.com>
* win32-low.cc (do_initial_child_stuff): Update.
BOOL ret;
#ifdef __x86_64__
if (wow64_process)
- ret = win32_Wow64GetThreadContext (th->h, &th->wow64_context);
+ ret = Wow64GetThreadContext (th->h, &th->wow64_context);
else
#endif
ret = GetThreadContext (th->h, &th->context);