This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit 1/3] Ignore DLL load/unload events during inferior initialization.
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 20 Feb 2014 11:50:44 +0000
- Subject: Re: [RFA/commit 1/3] Ignore DLL load/unload events during inferior initialization.
- Authentication-results: sourceware.org; auth=none
- References: <1392029454-8034-1-git-send-email-brobecker at adacore dot com> <1392029454-8034-2-git-send-email-brobecker at adacore dot com>
Hi Joel, sorry for not responding to this sooner.
The series looked fine to me, FWIW. Thanks!
On 02/10/2014 10:50 AM, Joel Brobecker wrote:
> -/* On certain versions of Windows, the information about ntdll.dll
> - is not available yet at the time we get the LOAD_DLL_DEBUG_EVENT,
> - thus preventing us from reporting this DLL as an SO. This has been
> - witnessed on Windows 8.1, for instance. A possible explanation
> - is that ntdll.dll might be mapped before the SO info gets created
> - by the Windows system -- ntdll.dll is the first DLL to be reported
> - via LOAD_DLL_DEBUG_EVENT and other DLLs do not seem to suffer from
> - that problem.
I think it's a little unfortunate that we lose this comment (in
some form), because it explains precisely _why_ we defer reading
the dll list to afterwards. I think someone reading the code
not being familiar with the history will naturally wonder
about this.
--
Pedro Alves