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] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing


Hi Pedro,

> [regarding gdbserver]
> > I think the fix is very low risk, and could go in with minimal
> > testing.
> 
> OK - will work on that ASAP.

I just had a look, and unfortunately, by the time we get to the end of
do_initial_child_stuff, gdbserver has not done the wait/resume cycle
and so DLLs have not been mapped yet. This is because this part is
currently handled by the generic code, as opposed to the "create_inferior"
or "attach" methods.

It seems to me that, if we want to fix this issue in GDBserver,
we'll need to add a new method, something like inferior_created.
We'd then call this new method, if defined, at the end of both
start_inferior and attach_inferior.

Does this sound right to you?

Thanks,
-- 
Joel


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