[lldb-dev] [Bug 24759] New: The example "Using the lldb.py module in python" is not working on Linux
lldb-dev at lists.llvm.org
Wed Sep 9 02:21:10 PDT 2015
Bug ID: 24759
Summary: The example "Using the lldb.py module in python" is
not working on Linux
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: Louis.Granboulan.Developer at gmail.com
CC: llvm-bugs at lists.llvm.org
>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
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...
More information about the lldb-dev