This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix cygwin compilation failure due to nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]