<div dir="ltr">Perhaps obvious, but please make sure it's only the default on Linux. <br></div><br><div class="gmail_quote">On Mon Feb 09 2015 at 1:34:58 PM Vince Harron <<a href="mailto:vharron@google.com">vharron@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>As you may have noticed, we have been busily adding remote debugging support to Linux. One of the processes that run on the remote target is lldb-gdbserver (or llgs for short).</div><div><br></div><div>We have also been working on a second path for debugging local linux processes. instead of lldb calling the ptrace APIs directly, it launches an llgs instance and communicates with it via the remote debug protocol.</div><div><br></div><div>This has two advantages.</div><div><br></div><div>1) There is more code shared between the remote debugging code path and the local debugging code path. If a feature works in remote, it probably works locally and vice-versa.<br></div><div><br></div><div><div>2) It makes us more architecturally similar to OSX (which also does local debugging via a connection to debugserver).</div><div><br></div><div>This path is called LLGS local. We think that this configuration is now at parity with (or better than) local linux debugging. </div><div></div><div><br></div><div>It is currently invoked if you have an environment variable defined "PLATFORM_LINUX_FORCE_LLGS_LOCAL"</div><div><br></div><div>We would like to switch to LLGS local as the default path and only use the non-LLGS path if someone has an environment variable defined "PLATFORM_LINUX_DISABLE_LLGS_LOCAL"</div><div><br></div><div>Later, if all goes well, we would like to remove non-LLGS local debugging support to simplify the codebase and avoid confusion.</div><div><br></div></div><div>Thoughts?</div><div><br></div><div>Vince</div><div><br></div><div>-- <br><div><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 858-442-0868</td></tr></tbody></table><br></div></div>
</div></div>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div>