Just a small fix for a typo. High and low address were mixed-up. Diff also
attached as file.

Regards,

Remco

------------

diff --git a/source/Commands/CommandObjectMemory.cpp
b/source/Commands/CommandObjectMemory.cpp
index bfbb296..4be9baa 100644
--- a/source/Commands/CommandObjectMemory.cpp
+++ b/source/Commands/CommandObjectMemory.cpp
@@ -1078,7 +1078,7 @@ class CommandObjectMemoryFind : public CommandObjectParsed
       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;
       }
diff --git a/source/Commands/CommandObjectMemory.cpp 
b/source/Commands/CommandObjectMemory.cpp
index bfbb296..4be9baa 100644
--- a/source/Commands/CommandObjectMemory.cpp
+++ b/source/Commands/CommandObjectMemory.cpp
@@ -1078,7 +1078,7 @@ class CommandObjectMemoryFind : public CommandObjectParsed
       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;
       }
 
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to