[lldb-dev] [Bug 24759] New: The example "Using the lldb.py module in python" is not working on Linux

via lldb-dev lldb-dev at lists.llvm.org
Wed Sep 9 02:21:10 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24759

            Bug ID: 24759
           Summary: The example "Using the lldb.py module in python" is
                    not working on Linux
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: Louis.Granboulan.Developer at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

>From http://lldb.llvm.org/python-reference.html there is a python script in the
section "Using the lldb.py module in python".
My testing procedure is to launch it on an empty program: the compilation of
"int main(){}".

On MacOSX, "print process" shows "pid = xxx, state = stopped, threads = 1",
which is the value expected.

On Linux, "print process" shows "pid = 0, state = launching, threads = 0",
which seems to be unexpected.
I have made this test on a Ubuntu 14.04 (64 bits) with the packaged version of
lldb downloaded from http://llvm.org/apt/trusty/ (llvm-toolchain-trusty).
GetVersionString() returns "lldb version 3.8.0 ( revision )".

Note that when using an older version of lldb (the lldb-3.6 packaged with
Ubuntu 14.04) "print process" returns the same value as on MacOSX and the
example script from http://lldb.llvm.org/python-reference.html is working, but
there are other bugs, for example process.Continue() is not working.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150909/bf33549e/attachment.html>


More information about the lldb-dev mailing list