[lldb-dev] Patch for scripted commands

Enrico Granata granata.enrico at gmail.com
Mon Nov 7 12:56:22 PST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20111107/66776446/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synchro.diff
Type: application/octet-stream
Size: 31117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20111107/66776446/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20111107/66776446/attachment-0001.html>


More information about the lldb-dev mailing list