[Lldb-commits] [lldb] r238764 - Fix types.py to actually be able to run check_padding_command() without erroring out.

Greg Clayton gclayton at apple.com
Mon Jun 1 10:28:45 PDT 2015


Author: gclayton
Date: Mon Jun  1 12:28:45 2015
New Revision: 238764

URL: http://llvm.org/viewvc/llvm-project?rev=238764&view=rev
Log:
Fix types.py to actually be able to run check_padding_command() without erroring out.

<rdar://problem/21071347>

Modified:
    lldb/trunk/examples/python/types.py

Modified: lldb/trunk/examples/python/types.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/types.py?rev=238764&r1=238763&r2=238764&view=diff
==============================================================================
--- lldb/trunk/examples/python/types.py (original)
+++ lldb/trunk/examples/python/types.py Mon Jun  1 12:28:45 2015
@@ -177,7 +177,7 @@ def check_padding_command (debugger, com
         # (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):





More information about the lldb-commits mailing list