<div dir="ltr">> <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">I may well start to look at this bug myself, if noone else is already active in that area.</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">I'm not active on it.  I say have at it, Matthew :-)</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 4:20 AM, Matthew Gardiner <span dir="ltr"><<a href="mailto:mg11@csr.com" target="_blank">mg11@csr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks<br>
<br>
I've built a 64-bit intel linux lldb (from TOT as of April 9), with a view to connecting to a gdbserver on the same box.<br>
<br>
Basically I just run up my server like:<br>
<br>
~ gdbserver <a href="http://127.0.0.1:12345" target="_blank">127.0.0.1:12345</a> ./simp-x64<br>
<br>
Then I connect my lldb as follows:<br>
<br>
~ lldb<br>
Traceback (most recent call last):<br>
  File "<string>", line 1, in <module><br>
ImportError: No module named lldb.embedded_interpreter<br>
(lldb) target create simp-x64<br>
Current executable set to 'simp-x64' (x86_64).<br>
(lldb) gdb-remote 12345<br>
Process 3244 stopped<br>
* thread #1: tid = 3244, , stop reason = signal SIGTRAP<br>
    frame #0:<br>
<br>
The issue, being that the "input reader" (prompt) is not printed. If I type some random input and hit enter, then the prompt appears.<br>
<br>
By comparision doing local debug, after reporting the initial stop, the prompt is printed.<br>
<br>
~ lldb<br>
Traceback (most recent call last):<br>
  File "<string>", line 1, in <module><br>
ImportError: No module named lldb.embedded_interpreter<br>
(lldb) target create simp-x64<br>
Current executable set to 'simp-x64' (x86_64).<br>
(lldb) process launch --stop-at-entry<br>
Process 3324 launching<br>
Process 3324 launched: '/home/mg11/src/arch-tests/<u></u>simple1/simp-x64' (x86_64)<br>
Process 3324 stopped<br>
* thread #1: tid = 3324, 0x0000003675a011f0, name = 'simp-x64', stop reason = trace<br>
    frame #0: 0x0000003675a011f0<br>
-> 0x3675a011f0:  movq   %rsp, %rdi<br>
   0x3675a011f3:  callq  0x3675a046e0<br>
   0x3675a011f8:  movq   %rax, %r12<br>
   0x3675a011fb:  movl   0x21eb97(%rip), %eax<br>
(lldb)<br>
<br>
I may well start to look at this bug myself, if noone else is already active in that area.<br>
<br>
Thoughts?<br>
<br>
thanks<br>
Matt<br>
<br>
<br>
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom<br>

More information can be found at <a href="http://www.csr.com" target="_blank">www.csr.com</a>. Keep up to date with CSR on our technical blog, <a href="http://www.csr.com/blog" target="_blank">www.csr.com/blog</a>, CSR people blog, <a href="http://www.csr.com/people" target="_blank">www.csr.com/people</a>, YouTube, <a href="http://www.youtube.com/user/CSRplc" target="_blank">www.youtube.com/user/CSRplc</a>, Facebook, <a href="http://www.facebook.com/pages/CSR/191038434253534" target="_blank">www.facebook.com/pages/CSR/<u></u>191038434253534</a>, or follow us on Twitter at <a href="http://www.twitter.com/CSR_plc" target="_blank">www.twitter.com/CSR_plc</a>.<br>

New for 2014, you can now access the wide range of products powered by aptX at <a href="http://www.aptx.com" target="_blank">www.aptx.com</a>.<br>
______________________________<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><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);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">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>