diff options
author | Enrico Granata <egranata@apple.com> | 2015-08-03 20:47:19 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-08-03 20:47:19 +0000 |
commit | 760af88d86aafd1e0be50e47d1ea6def5ce1a362 (patch) | |
tree | a9b67e4d8917b62219cdee65f3a022810a6fd0ce /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 1e7bf36f45bc1fd8fbbf9350a4056284318dfd2f (diff) | |
download | bcm5719-llvm-760af88d86aafd1e0be50e47d1ea6def5ce1a362.tar.gz bcm5719-llvm-760af88d86aafd1e0be50e47d1ea6def5ce1a362.zip |
Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find' takes
llvm-svn: 243902
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 3541f4f272c..42a8baf4601 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -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); |