<div dir="ltr"><span style="font-size:13px;font-family:arial,sans-serif">Hey guys,</span><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">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?</div>
<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">I'm looking for the correct analog for lldb-gdbserver.</div><div style="font-size:13px;font-family:arial,sans-serif">
<br></div><div style="font-size:13px;font-family:arial,sans-serif">Thanks!</div><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">BTW - current state of linux x86_64 lldb-gdbserver work is here:</div>
<div style><font face="arial, sans-serif"><a href="https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64">https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64</a></font><br></div>
<div style><font face="arial, sans-serif"><br></font></div><div style>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.</div>
-- <br><div dir="ltr">-Todd</div>
</div>