| Hi all, the proposed patch provides an implementation of a new 'import' command for LLDB, based upon Python commands. an example usage is: (lldb) script import importcmd (lldb) command script add -f importcmd.pyimport_cmd import (lldb) import /Users/user/Documents/demo1.py (lldb) script demo1.test_function(1) there is an included test case that checks for correctness of this new command by importing some Python script files and using the resulting modules plus, this fixes a minor issue where the custom Python commands defined for the functionalities/command_python/ test case would not be cleaned up if the test case itself failed Any feedback on this is most welcome. Thanks, - Enrico Granata
|
importcmd_patch.diff
Description: Binary data
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
