1import lldb 2import sys 3 4 5class WelcomeCommand(object): 6 def __init__(self, debugger, session_dict): 7 pass 8 9 def get_short_help(self): 10 return "Just a docstring for Welcome\nA command that says hello to LLDB users" 11 12 def __call__(self, debugger, args, exe_ctx, result): 13 print("Hello " + args + ", welcome to LLDB", file=result) 14 return None 15 16 17class WelcomeCommand2(object): 18 def __init__(self, debugger, session_dict): 19 pass 20 21 def get_short_help(self): 22 return "A docstring for the second Welcome\nA command that says hello to LLDB users" 23 24 def __call__(self, debugger, args, exe_ctx, result): 25 print("Hello " + args + ", welcome again to LLDB", file=result) 26 return None 27