Files
clang-p2996/lldb/test/functionalities/command_script/import/bar/bar.py
Enrico Granata 3a193f4b11 Fixing Python commands test cases to work even after removing Printf
(and using the new syntax for printing :-)

llvm-svn: 178389
2013-03-30 00:53:13 +00:00

10 lines
357 B
Python

def bar_function(debugger, args, result, dict):
global UtilityModule
print >>result, (UtilityModule.barutil_function("bar told me " + args))
return None
def __lldb_init_module(debugger, session_dict):
global UtilityModule
UtilityModule = __import__("barutil")
debugger.HandleCommand("command script add -f bar.bar_function barothercmd")
return None