[lldb-dev] lldb on Ubuntu 14.04 is unusable

Eran Ifrah eran.ifrah at gmail.com
Sat Apr 19 00:30:10 PDT 2014


Hi,

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)

It often (but not always) complained about "*address access protected" *
See below (the code snippet is the entire test program):

(lldb)
Process 6655 stopped
* thread #1: tid = 6655, 0x000000000040054f TestLLDB`main(argc=1,
argv=0x00007fffbfab5338) + 34 at main.cpp:6, name = 'TestLLDB', stop reason
= *address access protected (fault address: 0x4004b0)*
    frame #0: 0x000000000040054f TestLLDB`main(argc=1,
argv=0x00007fffbfab5338) + 34 at main.cpp:6
   3   int main(int argc, char **argv)
   4   {
   5       for(size_t i=0; i<5; ++i) {
-> 6           printf("message\n");
   7           //getc( stdin );
   8       }
   9       return 0;

​I am going to try this on a real machine (i.e. no VirtualBox)
P.S: I would have try lldb head from svn, but its broken (as Todd already
reported to this list)
​
Thanks,

-- 
Eran Ifrah
Author of codelite, a cross platform open source C/C++ IDE:
http://www.codelite.org
wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140419/0ceffbfb/attachment.html>


More information about the lldb-dev mailing list