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 1/3] gdbserver/windows: Ignore DLL load/unload events during child initialization.


On 02/24/2014 11:21 PM, Joel Brobecker wrote:

> gdb/gdbserver/ChangeLog:
> 
> 	* win32-low.c (win32_add_all_dlls): Renames
> 	win32_ensure_ntdll_loaded.  Rewrite function documentation.
> 	Adjust implementation to always load all DLLs.
> 	Add 0x1000 offset to DLL base address when calling
> 	win32_add_one_solib.
> 	(child_initialization_done): New static global.
> 	(do_initial_child_stuff): Set child_initialization_done to
> 	zero during child initialization, and 1 after.  Replace call
> 	to win32_ensure_ntdll_loaded by call to win32_add_all_dlls.
> 	Add comment.
> 	(match_dll_by_basename, dll_is_loaded_by_basename): Delete.
> 	(handle_unload_dll): Add function documentation.
> 	(get_child_debug_event): Ignore load and unload DLL events
> 	during child initialization.

Looks good, thanks!

-- 
Pedro Alves


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