[lldb-dev] just me, or lldb 3.4 is very buggy?

Todd Fiala tfiala at google.com
Fri Jan 31 22:41:50 PST 2014


Do we have any Debian/Ubuntu maintainers on this list? They can tell you
what they plan on integrating. We are making a number of changes/fixes that
they'd likely want to pick up, but ultimately it is up to them where they
stabilize.

On Friday, January 31, 2014, Jun Koi <junkoi2004 at gmail.com> wrote:

> i tried llvm-3.4 on Ubuntu 13.10-64bit, and have this issue:
>
> - immediately after lldb shows the prompt (lldb), i entered "b main"
> - then to see the list of breakpoints, i entered "br l". this command
> shows 1 breakpoint (this is expected), but doesnt return to the prompt
> after that.
>
> i installed lldb-3.5 from llvm.org/apt/, and this problem was fixed.
>
> is there any chance to have lldb-3.5 with upcoming Ubuntu 14.04 to replace
> lldb-3.4, which is so buggy that it is unusable even for basic usage?
>
> thanks,
> Jun
>
>
>
>
> On Sat, Feb 1, 2014 at 2:33 AM, Todd Fiala <tfiala at google.com> wrote:
>
> Just for posterity's sake, I did run the hello world test on Ubuntu 13.10
> (x86_64 - so not 32-bit), top of tree lldb, and it did work.  I know this
> isn't the 32-bit case, I just wanted to show it working on Ubuntu 13.10 in
> 64-bit mode.  Same hello.c as before, this time with gcc 4.8.1 as
> distributed with Ubuntu 13.10:
>
> # create a.out
> tfiala at ubuntu:~/work/samples/hello$ gcc -g -O0 hello.c
> # run my top of tree lldb that I just built from lldb as of svn r200548.
> tfiala at ubuntu:~/work/samples/hello$
> ~/work/lgs/build/Debug+Asserts/bin/lldb
> (lldb) target create a.out
> Current executable set to 'a.out' (x86_64).
> (lldb) b main
> Breakpoint 1: where = a.out`main + 15 at hello.c:5, address =
> 0x000000000040053c
> (lldb) run
> Process 11621 launching
> Process 11621 stopped
> * thread #1: tid = 11621, 0x00007f428f3a7630, name = 'a.out', stop reason
> = trace
>     frame #0: 0x00007f428f3a7630
> -> 0x7f428f3a7630:  movq   %rsp, %rdi
>    0x7f428f3a7633:  callq  0x7f428f3aafa0
>    0x7f428f3a7638:  movq   %rax, %r12
>    0x7f428f3a763b:  movl   0x2216ef(%rip), %eax
> (lldb) Process 11621 launched: '/home/tfiala/work/samples/hello/a.out'
> (x86_64)
> Process 11621 stopped
> (lldb) * thread #1: tid = 11621, 0x000000000040053c a.out`main(argc=1,
> argv=0x00007fff68b12a38) + 15 at hello.c:5, name = 'a.out', stop reason =
> breakpoint 1.1
>     frame #0: 0x000000000040053c a.out`main(argc=1,
> argv=0x00007fff68b12a38) + 15 at hello.c:5
>    2
>    3   int main(int argc, char **argv)
>    4   {
> -> 5       printf("Hello, world\n");
>    6       return 0;
>    7   }
> (lldb)
>
> I did assign myself the 32-bit Ubuntu 13.10 issue for gcc-built lldb.
>  I'll have a look at that:
> http://llvm.org/bugs/show_bug.cgi?id=17802
>
>
> On Fri, Jan 31, 2014 at 8:56 AM, Jun Koi <junkoi2004 at gmail.com> wrote:
>
>
>
>
> On Sat, Feb 1, 2014 at 12:53 AM, Todd Fiala <tfiala at google.com> wrote:
>
> Very helpful, thanks
>
>

-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140131/a6f43a2c/attachment.html>


More information about the lldb-dev mailing list