aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-09-06 11:29:08 +0000
committerEd Maste <emaste@freebsd.org>2014-09-06 11:29:08 +0000
commit47a8a5e9fbdcd4cb042b09bb2bb6d462b6815044 (patch)
tree9d1033819220353067be0f2503d20e03eb49bde9 /lldb/source/Commands/CommandObjectMemory.cpp
parent2949e548f4b1bb95d48ec8fe2078d5dfdb0b15f2 (diff)
downloadllvm-47a8a5e9fbdcd4cb042b09bb2bb6d462b6815044.zip
llvm-47a8a5e9fbdcd4cb042b09bb2bb6d462b6815044.tar.gz
llvm-47a8a5e9fbdcd4cb042b09bb2bb6d462b6815044.tar.bz2
Correct copied error message
Patch by Remco Verhoef. llvm-svn: 217312
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index 8144f48..486a5eb 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -1080,7 +1080,7 @@ protected:
lldb::addr_t high_addr = Args::StringToAddress(&m_exe_ctx, command.GetArgumentAtIndex(1),LLDB_INVALID_ADDRESS,&error);
if (high_addr == LLDB_INVALID_ADDRESS || error.Fail())
{
- result.AppendError("invalid low address");
+ result.AppendError("invalid high address");
return false;
}