[RFA] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
Pedro Alves
palves@redhat.com
Mon Dec 9 17:08:00 GMT 2013
On 12/09/2013 11:33 AM, Joel Brobecker wrote:
> The reason why I think it would be difficult is because, when a new
> shared object is loaded, we get a TARGET_WAITKIND_LOADED, which
> I think eventually leads us to:
>
> -> handle_solib_event ()
> -> solib_add (NULL, 0, ¤t_target, auto_solib_add);
> -> update_solib_list (from_tty, target);
>
> And looking at update_solib_list, it calls current_sos, and then
> adds new SOs at the end (via the VEC_push).
I see now. You're right.
> On top of that, an
> easier issue that we'll have to handle in windows-nat the adding
> of the new SO at the start of the SO list, rather than then end.
Yeah, I naively thought that that would be all we'd have
to do. :-)
>
> Since this is mostly cosmetic and only affects Windows 2012,
> I would leave it alone until we have more leeway towards simplifying
> the DLL handling.
Agreed.
--
Pedro Alves
More information about the Gdb-patches
mailing list