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