[Lldb-commits] [PATCH] Properly handle the DYLD attach step for GDB remotes.

Stephane Sezer sas at fb.com
Thu Sep 4 15:44:15 PDT 2014


No problem. Thanks :)

This is basically a bug I found when working on remote debugging; it happens when the remote debugger starts the inferior itself. The inferior is blocked before hitting the entry point (before the rendezvous structure has been setup), which means we can’t load any shared object yet. AFAICT, this can only happen during remote debugging, as attaching to a live process with lldb directly would necessarily attach after the entry point.

On Sep 4, 2014, at 3:32 PM, Todd Fiala <tfiala at google.com> wrote:

> (I've also added a ton of logging on the 'enable log lldb dyld' flag).
> 
> I'm heading out now but will look at this tonight since I'm all in that code too.
> 
> 
> On Thu, Sep 4, 2014 at 3:28 PM, Todd Fiala <tfiala at google.com> wrote:
> That's bizarre - I'm actually working on this exact code right now...
> 
> 
> On Thu, Sep 4, 2014 at 3:24 PM, Stephane Sezer <sas at fb.com> wrote:
>         
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
> 
> 
> 
> 
> -- 
> Todd Fiala |	 Software Engineer |	 tfiala at google.com |	 650-943-3180
> 
> 
> 
> 
> -- 
> Todd Fiala |	 Software Engineer |	 tfiala at google.com |	 650-943-3180
> 





More information about the lldb-commits mailing list