blob: 11c758e12d377d5f7df23a8d113ea46aa4dab87c [file] [edit]
import lldb
class EchoCommand:
def __init__(self, debugger, internal_dict):
pass
def __call__(self, debugger, command, exe_ctx, result):
result.AppendMessage(command)
def __lldb_init_module(debugger, internal_dict):
debugger.HandleCommand(
"command script add -c scripted_command.EchoCommand echo-cmd"
)