From d754890047807170f5ee6252a4024109552b4ec0 Mon Sep 17 00:00:00 2001 From: Sagar Thakur Date: Fri, 7 Aug 2015 06:39:38 +0000 Subject: [LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support This change : - Fixes offsets of all register sets for Mips. - Adds MSA register set and FRE=1 mode support for FP register set. - Separates lldb register numbers and register infos of freebsd/mips64 from linux/mips64. - Re-orders the register numbers of all kinds for mips to be consistent with freebsd order of register numbers. - Eliminates ENABLE_128_BIT_SUPPORT and union ValueData from Scalar.cpp and uses llvm::APInt and llvm::APFloat for all integer and floating point types. Reviewers : emaste, jaydeep, clayborg Subscribers : emaste, mohit.bhakkad, nitesh.jain, bhushan Differential : http://reviews.llvm.org/D10919 llvm-svn: 244308 --- lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp') diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp index 9628b4e6f723..df0a008ff5f7 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("GPR buffer is NULL"); + return Error("FPR 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("GPR buffer is NULL"); + return Error("FPR buffer is NULL"); size_t buf_size = GetFPRSize(); return DoWriteFPR(buf, buf_size); -- cgit v1.2.3