I've noticed that apt created some invalid symlinks, but fixing them did
not helped. I have a gut feeling that the problem is with prebuilt packages
from http://apt.llvm.org/ , not with lldb sources .
But we need someone else with Ubuntu 16.04 to confirm.
2017-02-13 22:15 GMT+03:00 Greg Clayton :
Works for me with top of tree:
% PYTHONPATH=/tmp/lldb/build/Debug/LLDB.framework/Resources/Python ; ./foo.py )
Creating a target for './a.out'
SBBreakpoint: id = 1, name = 'main', module = a.out, locations = 1
SBProcess: pid = 62855, state = stopped, threads = 1, executable = a.out
thread #1: tid
Do you mean you were able to reproduce it? Because it is used to work on
trunk month ago, but since then I've switched from ubuntu 14.04 to fresh
16.04 and it no longer works for me.
2017-02-13 21:21 GMT+03:00 Greg Clayton :
> I would be probably best to just step through it and see why it is
> i
I would be probably best to just step through it and see why it is incorrectly
returning. We know it is broken. We should also add a test for this so we don't
regress again.
Greg
> On Feb 13, 2017, at 10:19 AM, Roman Popov wrote:
>
> Yes Greg, this was my expectation that it should not return
Yes Greg, this was my expectation that it should not return until stops on
break-point. But I had to downgrade sequentially from 5.0 to 4.0 to 3.9 to
make it work as expected.
Can I get some diagnostics? Any log files?
2017-02-13 20:11 GMT+03:00 Greg Clayton :
> The example code is:
>
> #!/usr/b
The example code is:
#!/usr/bin/python
import lldb
import os
def disassemble_instructions(insts):
for i in insts:
print i
# Set the path to the executable to debug
exe = "./a.out"
# Create a new debugger instance
debugger = lldb.SBDebugger.Create()
# When we step or continue, don'
I'm testing example from https://lldb.llvm.org/python-reference.html (USING
THE LLDB.PY MODULE IN PYTHON) on Ubuntu 16.04
For some reason it works only with LLDB 3.9, is it because LLDB 4.0/5.0 are
not stable yet?
#5.0 -- Does not work
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial mai