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@lists.llvm.org
          Reporter: louis.granboulan.develo...@gmail.com
                CC: llvm-b...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to