aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-08-10 21:49:50 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-08-10 21:49:50 +0000
commit9dcdd2ee0370dd8d43b0a668a11721038aeaf2d4 (patch)
tree09d15c53f49047dfe7e6a506e358f1494c62fc5e /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
parente5101e2016311c315119c8ad50a970b6b0c87cc7 (diff)
downloadllvm-9dcdd2ee0370dd8d43b0a668a11721038aeaf2d4.zip
llvm-9dcdd2ee0370dd8d43b0a668a11721038aeaf2d4.tar.gz
llvm-9dcdd2ee0370dd8d43b0a668a11721038aeaf2d4.tar.bz2
Revert r244308 since it's introducing test regressions on Linux:
- TestLldbGdbServer.py both clang & gcc, i386 and x86_64 - TestConstVariables.py gcc, i386 and x86_64 - 112 failures clang, i386 llvm-svn: 244514
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
index df0a008..9628b4e 100644
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
@@ -136,7 +136,7 @@ NativeRegisterContextLinux::ReadFPR()
{
void* buf = GetFPRBuffer();
if (!buf)
- return Error("FPR buffer is NULL");
+ return Error("GPR buffer is NULL");
size_t buf_size = GetFPRSize();
return DoReadFPR(buf, buf_size);
@@ -147,7 +147,7 @@ NativeRegisterContextLinux::WriteFPR()
{
void* buf = GetFPRBuffer();
if (!buf)
- return Error("FPR buffer is NULL");
+ return Error("GPR buffer is NULL");
size_t buf_size = GetFPRSize();
return DoWriteFPR(buf, buf_size);