This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix cygwin compilation failure due to nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>, <gdb-patches at sourceware dot org>
- Date: Tue, 17 Dec 2013 08:41:00 +0800
- Subject: Re: [RFA] Fix cygwin compilation failure due to nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
- Authentication-results: sourceware.org; auth=none
- References: <002f01cef853$f44500e0$dccf02a0$ at muller@ics-cnrs.unistra.fr> <52AE633E dot 9020604 at codesourcery dot com> <52AF40E4 dot 1020709 at redhat dot com>
On 12/17/2013 02:05 AM, Pedro Alves wrote:
> At this level we're thinking in terms of Win32 debug API, and
> it's irrelevant what Cygwin thinks is the Posix path of
> ntdll.dll. If this is indeed ntdll.dll, then the following
> windows_make_so call will then do that conversion before
> recording the dll name.
My point is we use cygwin_conv_path to convert the path to type "char *"
and then compare whether it is ntdll.dll.
--
Yao (éå)