Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find...
authorEnrico Granata <egranata@apple.com>
Mon, 3 Aug 2015 20:47:19 +0000 (20:47 +0000)
committerEnrico Granata <egranata@apple.com>
Mon, 3 Aug 2015 20:47:19 +0000 (20:47 +0000)
llvm-svn: 243902

lldb/source/Commands/CommandObjectMemory.cpp

index 3541f4f..42a8baf 100644 (file)
@@ -1042,15 +1042,15 @@ public:
     CommandArgumentData value_arg;
     
     // Define the first (and only) variant of this arg.
-    addr_arg.arg_type = eArgTypeAddress;
+    addr_arg.arg_type = eArgTypeAddressOrExpression;
     addr_arg.arg_repetition = eArgRepeatPlain;
     
     // There is only one variant this argument could be; put it into the argument entry.
     arg1.push_back (addr_arg);
     
     // Define the first (and only) variant of this arg.
-    value_arg.arg_type = eArgTypeValue;
-    value_arg.arg_repetition = eArgRepeatPlus;
+    value_arg.arg_type = eArgTypeAddressOrExpression;
+    value_arg.arg_repetition = eArgRepeatPlain;
     
     // There is only one variant this argument could be; put it into the argument entry.
     arg2.push_back (value_arg);