Files
clang-p2996/lldb/test/Shell/Commands/command-script-add.test
Jim Ingham 9c5877f33d Switch the "command script add" interactive input to use the new command form.
We're suggesting people use the form of the command that takes an exe_ctx - it
is both more convenient and more correct - since you should not be using
GetSelected{Target, Process, etc.} in commands.
2022-12-09 10:58:15 -08:00

10 lines
230 B
Plaintext

# Test that command script add with no arguments prompts for
# and generates the modern (exe_ctx) version of the command.
# RUN: %lldb < %s | FileCheck %s
command script add doit
print(exe_ctx.target)
DONE
doit
# CHECK: No value