[LLDB][MIPS] Emulate instruction using MCDisassembler
authorMohit K. Bhakkad <mohit.bhakkad@gmail.com>
Mon, 4 May 2015 06:28:04 +0000 (06:28 +0000)
committerMohit K. Bhakkad <mohit.bhakkad@gmail.com>
Mon, 4 May 2015 06:28:04 +0000 (06:28 +0000)
commit1c34f7cf18722101367aaa36c990221991ad2bf4
treecb0706e1c899b20488f372eef3c07a97382190b5
parentf9900379b4644274f76842dae56ea013fb2abb8f
[LLDB][MIPS] Emulate instruction using MCDisassembler
Patch by Jaydeep Patil

EmulateInstructionMIPS64 has been modified to use llvm::MCDisassembler instead of duplicating the decoding logic.
Added emulation of few branch instructions for software single stepping

Reviewers: clayborg, jasonmolenda
Subscribers: bhushan, mohit.bhakkad, sagar, lldb-commits.
Differential Revision: http://reviews.llvm.org/D9319

llvm-svn: 236411
lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h