[lldb-dev] Patch for scripted commands

Enrico Granata granata.enrico at gmail.com
Mon Nov 7 14:59:57 PST 2011


Sending        include/lldb/Interpreter/CommandInterpreter.h
Sending        include/lldb/Interpreter/ScriptInterpreter.h
Sending        include/lldb/Interpreter/ScriptInterpreterPython.h
Sending        include/lldb/lldb-enumerations.h
Sending        include/lldb/lldb-private-enumerations.h
Sending        source/Commands/CommandObjectCommands.cpp
Sending        source/Commands/CommandObjectType.cpp
Sending        source/Interpreter/CommandInterpreter.cpp
Sending        source/Interpreter/CommandObject.cpp
Sending        source/Interpreter/ScriptInterpreterPython.cpp
Sending        test/functionalities/command_script/TestCommandScript.py
Sending        test/functionalities/command_script/import/TestImport.py
Sending        test/functionalities/command_script/main.cpp
Adding         test/functionalities/command_script/mysto.py
Sending        test/functionalities/command_script/py_import
Sending        test/functionalities/command_script/welcome.py
Transmitting file data ................
Committed revision 144035.

Thanks,
- Enrico Granata

On Nov 7, 2011, at 11:47 PM, Jim Ingham wrote:

> That looks good to me.   
> 
> Jim
> 
> On Nov 7, 2011, at 12:56 PM, Enrico Granata wrote:
> 
>> Hi all,
>> attached is a patch that adds a new --synchronicity (-s) option for "command script add" that allows the user to decide if scripted commands should run synchronously or asynchronously (which can make a difference in how events are handled - this was discussed last week on the mailing list)
>> 
>> this also provides some changes to other "command script" features:
>> a) clears up several error messages
>> b) adds a new --allow-reload (-r) option for "command script import" that allows the user to reload a module even if it has already been imported before
>> c) allows filename completion for "command script import" (much like what happens for "target create")
>> d) prevents "command script add" from replacing built-in commands with scripted commands
>> 
>> plus, it fixes an issue in the "type summary add" command which caused several test suite errors
>> 
>> Thanks,
>> - Enrico Granata
>> <synchro.diff>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 

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


More information about the lldb-dev mailing list