[lldb-dev] latest LLDB on Linux

Greg Clayton gclayton at apple.com
Tue Jul 12 09:55:47 PDT 2011


The test suite expects to find the "embedded_interpreter.py" file which lives in the:

lldb/source/Interpreter/embedded_interpreter.py

On MacOSX, we embed this inside the LLDB.framework which allows LLDB to always and easily find this python file. I am not sure what the build system currently does on linux (if it copies this file somewhere). You might need to set your PYTHONPATH environment variable to point to this directory for now so that LLDB can find this module.

Any other linux folks have any tips?

Greg Clayton
On Jul 12, 2011, at 1:55 AM, Jason E. Aten wrote:

> Hi guys,
> 
> I'm trying the latest lldb on linux (svn 134974), using llvm and clang at svn 131657.
> 
> When I run the resulting lldb, I get many repetitions of the following two errors at the command prompt:
> 
> ImportError: No module named embedded_interpreter
> NameError: name 'run_one_line' is not defined
> 
> Also, starting a process seems to leave the process in the background. I get many "error: No auto repeat." errors, and am stuck since I never get another command prompt.
> 
> All fixes welcome.
> 
> Jason
> 
> -- 
> Jason E. Aten, Ph.D.
> 
> 
> transcript
> 
> jaten at afarm:~/pkg/llvm_svn_pre3.0/llvm_svn_131657/tools/lldb$ svn info
> Path: .
> URL: http://llvm.org/svn/llvm-project/lldb/trunk
> Repository Root: http://llvm.org/svn/llvm-project
> Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
> Revision: 134974
> Node Kind: directory
> Schedule: normal
> Last Changed Author: jingham
> Last Changed Rev: 134955
> Last Changed Date: 2011-07-11 22:12:18 -0500 (Mon, 11 Jul 2011)
> 
> jaten at afarm:~/pkg/llvm_svn_pre3.0/llvm_svn_131657/tools/lldb$ ../../install_llvm_svn_131657/bin/lldb   /home/jaten/dj/strongref/terp
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named embedded_interpreter
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named embedded_interpreter
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named embedded_interpreter
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> NameError: name 'run_one_line' is not defined
> Current executable set to '/home/jaten/dj/strongref/terp' (x86_64).
> (lldb) process launch
> Process 20725 launched: '/home/jaten/research/djitia/strongref/terp' (x86_64)
> (lldb) attach -p 20725
> error: 'attach' is not a valid command.
> error: No auto repeat.
> error: No auto repeat. <pressing enter, not getting the chance to type anything more here, it's locked up; cannot ctrl-c out>
> error: No auto repeat.
> error: No auto repeat.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110712/33264558/attachment.html>


More information about the lldb-dev mailing list