aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/command_script_alias/tcsacmd.py
blob: d5bb6131210c57a893d06f99107ce26030142113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from __future__ import print_function
import lldb
import sys


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