aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/Inputs')
-rw-r--r--lldb/test/Shell/ScriptInterpreter/Python/Inputs/sbaddress.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Inputs/sbaddress.py b/lldb/test/Shell/ScriptInterpreter/Python/Inputs/sbaddress.py
new file mode 100644
index 0000000..132d284
--- /dev/null
+++ b/lldb/test/Shell/ScriptInterpreter/Python/Inputs/sbaddress.py
@@ -0,0 +1,7 @@
+import lldb
+
+def test(debugger, command, result, internal_dict):
+ return int(lldb.SBAddress())
+
+def __lldb_init_module(debugger, internal_dict):
+ debugger.HandleCommand('command script add -f sbaddress.test test')