43 lines · plain
1# REQUIRES: python2# RUN: %lldb -s %s -o exit | FileCheck %s3 4scripting extension list5# CHECK:Available scripted extension templates:6 7# CHECK: Name: OperatingSystemPythonInterface8# CHECK-NEXT: Language: Python9# CHECK-NEXT: Description: Mock thread state10# CHECK-NEXT: API Usages: None11# CHECK-NEXT: Command Interpreter Usages:12# CHECK-NEXT: settings set target.process.python-os-plugin-path <script-path>13# CHECK-NEXT: settings set process.experimental.os-plugin-reports-all-threads [0/1]14 15# CHECK: Name: ScriptedPlatformPythonInterface16# CHECK-NEXT: Language: Python17# CHECK-NEXT: Description: Mock platform and interact with its processes.18# CHECK-NEXT: API Usages: None19# CHECK-NEXT: Command Interpreter Usages: None20 21# CHECK: Name: ScriptedProcessPythonInterface22# CHECK-NEXT: Language: Python23# CHECK-NEXT: Description: Mock process state24# CHECK-NEXT: API Usages:25# CHECK-NEXT: SBAttachInfo.SetScriptedProcessClassName26# CHECK-NEXT: SBAttachInfo.SetScriptedProcessDictionary27# CHECK-NEXT: SBTarget.Attach28# CHECK-NEXT: SBLaunchInfo.SetScriptedProcessClassName29# CHECK-NEXT: SBLaunchInfo.SetScriptedProcessDictionary30# CHECK-NEXT: SBTarget.Launch31# CHECK-NEXT: Command Interpreter Usages:32# CHECK-NEXT: process attach -C <script-name> [-k key -v value ...]33# CHECK-NEXT: process launch -C <script-name> [-k key -v value ...]34 35# CHECK: Name: ScriptedThreadPlanPythonInterface36# CHECK-NEXT: Language: Python37# CHECK-NEXT: Description: Alter thread stepping logic and stop reason38# CHECK-NEXT: API Usages: SBThread.StepUsingScriptedThreadPlan39# CHECK-NEXT: Command Interpreter Usages: thread step-scripted -C <script-name> [-k key -v value ...]40 41scripting extension list -l lua42# CHECK: Available scripted extension templates: None43