summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/import/bar/bar.py
blob: 28a4488fa70619dec13c012c39c37da014384f26 (plain)
1
2
3
4
5
6
7
8
9
10
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
OpenPOWER on IntegriCloud