diff options
author | Nitesh Jain <nitesh.jain@imgtec.com> | 2017-05-04 11:34:42 +0000 |
---|---|---|
committer | Nitesh Jain <nitesh.jain@imgtec.com> | 2017-05-04 11:34:42 +0000 |
commit | dd12594345b0e2156a524f88a43dfaeb5ab65f1d (patch) | |
tree | d1fe5edc9b0e31b93d1b875d1725cdfdf081433e /lldb/source/Core/Disassembler.cpp | |
parent | 080d478bd2908b75c7680325f7a39a4d61dc84e6 (diff) | |
download | bcm5719-llvm-dd12594345b0e2156a524f88a43dfaeb5ab65f1d.tar.gz bcm5719-llvm-dd12594345b0e2156a524f88a43dfaeb5ab65f1d.zip |
[LLDB][MIPS] Fix TestStepOverBreakpoint.py failure.
Reviewers: jingham, labath
Subscribers: jaydeep, bhushan, lldb-commits, slthakur
Differential Revision: https://reviews.llvm.org/D32168
llvm-svn: 302139
Diffstat (limited to 'lldb/source/Core/Disassembler.cpp')
-rw-r--r-- | lldb/source/Core/Disassembler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp index 3880bfd16ec..51d93d9acdb 100644 --- a/lldb/source/Core/Disassembler.cpp +++ b/lldb/source/Core/Disassembler.cpp @@ -759,6 +759,10 @@ bool Instruction::DumpEmulation(const ArchSpec &arch) { return false; } +bool Instruction::CanSetBreakpoint () { + return !HasDelaySlot(); +} + bool Instruction::HasDelaySlot() { // Default is false. return false; |