summaryrefslogtreecommitdiff
path: root/lldb/examples
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-06-01 17:28:45 +0000
committerGreg Clayton <gclayton@apple.com>2015-06-01 17:28:45 +0000
commit5a6c059b599f9329f3cd35b3a50b49029e82ab42 (patch)
tree9317a8e75ccb43718caafa844511aff6512c53b6 /lldb/examples
parent75e8cb6dae044b14887ce0be2905229434a4ef5c (diff)
Fix types.py to actually be able to run check_padding_command() without erroring out.
<rdar://problem/21071347>
Diffstat (limited to 'lldb/examples')
-rwxr-xr-xlldb/examples/python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/types.py b/lldb/examples/python/types.py
index adf46e7af57..60ea7514c13 100755
--- a/lldb/examples/python/types.py
+++ b/lldb/examples/python/types.py
@@ -177,7 +177,7 @@ def check_padding_command (debugger, command, result, dict):
# (courtesy of OptParse dealing with argument errors by throwing SystemExit)
result.SetStatus (lldb.eReturnStatusFailed)
return "option parsing failed" # returning a string is the same as returning an error whose description is the string
- verify_types(options, debugger.GetSelectedTarget(), command_args)
+ verify_types(debugger.GetSelectedTarget(), options)
@lldb.command("parse_all_struct_class_types")
def parse_all_struct_class_types (debugger, command, result, dict):