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/commit: [win32] cannot automatically find executable file [...] warning at GDB startup


On 12/21/2015 03:11 PM, Joel Brobecker wrote:
> Hi Pedro,

> This patch fixes the problem by calling GetProcAddress directly,
> rather than through the GPA macro, but in a way which hopefully
> avoids the C++ compilation warning that the previous patch was
> trying to get rid of.
> 
> gdb/ChangeLog:
> 
> 	* windows-nat.c (_initialize_loadable): Fix computing of
> 	GetModuleFileNameEx.
> 
> I think this patch is fairly straightforward, but I'll wait a few
> days before pushing it, in case you'd like to suggest another way
> to handle this issue.
> 
> Thanks!

LGTM.  Thanks for fixing this.

Thanks,
Pedro Alves


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