[lldb-dev] gdbremote $? packet - DNB process current thread

Todd Fiala tfiala at google.com
Thu May 1 19:09:55 PDT 2014


Ok great, thanks!

On Thursday, May 1, 2014, Greg Clayton <gclayton at apple.com> wrote:

> I am guessing it should be the thread that is selected by the 'Hg<tid>'
> packet. You can probably pick the first thread if no one has called
> 'Hg<tid>' yet.
>
> On May 1, 2014, at 4:28 PM, Todd Fiala <todd.fiala at gmail.com<javascript:;>>
> wrote:
>
> > Hey guys,
> >
> > In debugserver's handling of $?, when the process is in the stopped
> state it grabs the concept of the current thread from the Mach process.
>  What are the semantics of that "current mach thread"?  Is it initialized
> to the first/main thread on start?
> >
> > I'm looking for the correct analog for lldb-gdbserver.
> >
> > Thanks!
> >
> > BTW - current state of linux x86_64 lldb-gdbserver work is here:
> >
> https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64
> >
> > I've got gdb remote protocol tests starting to drive proper
> functionality of lldb-gdbserver (@lldb_test and @debugserver_test tests).
>  Plenty still needs to be implemented but its getting there.  Hope to have
> this upstreamed soon when a few more of the rough edges are smoothed out.
> > --
> > -Todd
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu <javascript:;>
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu <javascript:;>
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140501/0dd88814/attachment.html>


More information about the lldb-dev mailing list