[lldb-dev] command script import
granata.enrico at gmail.com
Mon Oct 17 14:51:09 PDT 2011
I have checked in the changes.
I will definitely try to centralize the locking code. I will keep you up to date as I make progress on this.
- Enrico Granata
On Oct 17, 2011, at 11:42 PM, Jim Ingham wrote:
> That looks good, check it in. If you have the time to centralize the code that locks what needs locking for Python, that would be great. This sounds like the sort of thing that might not stay the same over time, so it would be good to have it in one place.
> Author: enrico
> Date: Mon Oct 17 16:45:27 2011
> New Revision: 142283
> URL: http://llvm.org/viewvc/llvm-project?rev=142283&view=rev
> this patch introduces a new command script import command which takes as input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev