<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">An update:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
I have installed Ubuntu 14.04 on a _real_ machine and it is working flawlessly (that is, lldb is working flawlessly)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">So my guess is that this issue is somehow related to the fact that my previous test was done in a VirtualBox</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Eran</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 19, 2014 at 10:30 AM, Eran Ifrah <span dir="ltr"><<a href="mailto:eran.ifrah@gmail.com" target="_blank">eran.ifrah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">Hi,</font></div>
<div class="gmail_default">
<font face="verdana, sans-serif"><br></font></div><div class="gmail_default">
<font face="verdana, sans-serif">I am not sure if there anything you guys can do about this, but I have just installed VirtualBox with Ubuntu 14.04/64 and tried the lldb-3.4-dev and lldb-3.5-dev packages they offer (both installs a development package + lldb command line tool), in both cases lldb could not debug a simple program (both from command line and from my IDE)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">It often (but not always) complained about "</font><b style="font-family:verdana,sans-serif">address access protected" </b></div>
<div class="gmail_default"><span style="font-family:verdana,sans-serif">See below (the code snippet is the entire test program):</span></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div>
<div class="gmail_default"><font face="verdana, sans-serif">(lldb) </font></div><div class="gmail_default"><font face="verdana, sans-serif">Process 6655 stopped</font></div><div class="gmail_default"><font face="verdana, sans-serif">* thread #1: tid = 6655, 0x000000000040054f TestLLDB`main(argc=1, argv=0x00007fffbfab5338) + 34 at main.cpp:6, name = 'TestLLDB', stop reason = <b>address access protected (fault address: 0x4004b0)</b></font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> frame #0: 0x000000000040054f TestLLDB`main(argc=1, argv=0x00007fffbfab5338) + 34 at main.cpp:6</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 3 <span style="white-space:pre-wrap"> </span>int main(int argc, char **argv)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> 4 <span style="white-space:pre-wrap"> </span>{</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 5 <span style="white-space:pre-wrap"> </span> for(size_t i=0; i<5; ++i) {</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">-> 6 <span style="white-space:pre-wrap"> </span> printf("message\n");</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 7 <span style="white-space:pre-wrap"> </span> //getc( stdin );</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> 8 <span style="white-space:pre-wrap"> </span> }</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 9 <span style="white-space:pre-wrap"> </span> return 0;</font></div>
<div style="font-family:verdana,sans-serif;font-size:small"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I am going to try this on a real machine (i.e. no VirtualBox)</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">P.S: I would have try lldb head from svn, but its broken (as Todd already reported to this list)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
</div></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Thanks,</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div>-- <br><div dir="ltr">
Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br><div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div>
</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br>
<div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div></div>
</div>