diff options
| author | Sagar Thakur <sagar.thakur@imgtec.com> | 2015-08-17 13:40:17 +0000 |
|---|---|---|
| committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2015-08-17 13:40:17 +0000 |
| commit | 789da6678e55c7dd5316b4a8145c513343b0e84b (patch) | |
| tree | d59a86ed902ca3976090d54f27176e8e00ac88b9 /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp | |
| parent | ee3443e0d6a07c02c38c996b6f7e589c60e9c1bb (diff) | |
| download | llvm-789da6678e55c7dd5316b4a8145c513343b0e84b.tar.gz llvm-789da6678e55c7dd5316b4a8145c513343b0e84b.tar.bz2 llvm-789da6678e55c7dd5316b4a8145c513343b0e84b.zip | |
[LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode support
This patch :
- 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.
Reviewers: jaydeep, clayborg, jasonmolenda, ovyalov, emaste
Subscribers: tberghammer, ovyalov, emaste, mohit.bhakkad, nitesh.jain, bhushan
Differential: http://reviews.llvm.org/D10919
llvm-svn: 245217
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp | 4 |
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 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); |
