1 def foo2_function(debugger, args, result, dict): 2 print >>result, ("foo2 says " + args) 3 return None 4 5 def __lldb_init_module(debugger, session_dict): 6 debugger.HandleCommand("command script add -f foo2.foo2_function foo2cmd") 7 return None