summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/welcome.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_script/welcome.py')
-rw-r--r--lldb/test/functionalities/command_script/welcome.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/functionalities/command_script/welcome.py b/lldb/test/functionalities/command_script/welcome.py
index b6340990e78..c444934012f 100644
--- a/lldb/test/functionalities/command_script/welcome.py
+++ b/lldb/test/functionalities/command_script/welcome.py
@@ -30,3 +30,6 @@ def check_for_synchro(debugger, args, result, dict):
if debugger.GetAsync() == False:
print >>result, ('I am running sync')
+def takes_exe_ctx(debugger, args, exe_ctx, result, dict):
+ print >>result, str(exe_ctx.GetTarget())
+
OpenPOWER on IntegriCloud