[RFA] Fix cygwin compilation failure due to nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
Pedro Alves
palves@redhat.com
Mon Dec 16 17:13:00 GMT 2013
On 12/13/2013 10:37 PM, Pierre Muller wrote:
> Following this thread
> https://sourceware.org/ml/gdb-patches/2013-12/msg00073.html
>
> The patch
> https://sourceware.org/ml/gdb-cvs/2013-12/msg00054.html
>
> introduced a failure for cygwin native build.
> The problem is that __USEWIDE is not considered in the patch.
>
> The patch below fixes this compilation error
> and should allow cygwin to work as mingw.
Looks fine to me.
(Though I wonder why not just use GetModuleFileNameExA
explicitly. In fact, it's what gdbserver does).
--
Pedro Alves
More information about the Gdb-patches
mailing list