Not needed now that we require python 3. Reviewed By: kastiglione, JDevlieghere Differential Revision: https://reviews.llvm.org/D131761
11 lines
233 B
Python
11 lines
233 B
Python
import lldb
|
|
|
|
|
|
def some_command_here(debugger, command, result, d):
|
|
if command == "a":
|
|
print("Victory is mine", file=result)
|
|
return True
|
|
else:
|
|
print("Sadness for all", file=result)
|
|
return False
|