diff options
author | Jaydeep Patil <jaydeep.patil@imgtec.com> | 2015-06-23 03:37:08 +0000 |
---|---|---|
committer | Jaydeep Patil <jaydeep.patil@imgtec.com> | 2015-06-23 03:37:08 +0000 |
commit | c60c94528cd47100642fba1e0f2e9b8d225d8d67 (patch) | |
tree | 85ed7a3d7d10a65366009fa871d7d540d6537c3e /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h | |
parent | 49943652f57c92efa02c45f12e23b06a2ac8009b (diff) | |
download | bcm5719-llvm-c60c94528cd47100642fba1e0f2e9b8d225d8d67.tar.gz bcm5719-llvm-c60c94528cd47100642fba1e0f2e9b8d225d8d67.zip |
[LLDB][MIPS] MIPS32 branch emulation and single-stepping
SUMMARY:
This patch implements
1. Emulation of MIPS32 branch instructions
2. Enable single-stepping for MIPS32 instructions
3. Correction in emulation of MIPS64 branch instructions with delay slot
4. Adjust breakpoint address when breakpoint is hit in a forbidden slot of compact branch instruction
Reviewers: clayborg
Subscribers: mohit.bhakkad, sagar, bhushan, lldb-commits, emaste, nitesh.jain
Differential Revision: http://reviews.llvm.org/D10596
llvm-svn: 240373
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h index 2b53795f0e9..0b5b29a024e 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h @@ -33,6 +33,9 @@ namespace process_linux { uint32_t GetRegisterSetCount () const override; + lldb::addr_t + GetPCfromBreakpointLocation (lldb::addr_t fail_value = LLDB_INVALID_ADDRESS) override; + const RegisterSet * GetRegisterSet (uint32_t set_index) const override; |