summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/EmulateInstructionARM.h
Commit message (Collapse)AuthorAgeFilesLines
* Made the EmulateInstruction class into a plug-in interface and moved theGreg Clayton2011-02-011-111/+0
| | | | | | source files around into the places they need to go. llvm-svn: 124631
* Added the start of the plug-in interface to EmulateInstructionGreg Clayton2011-01-301-2/+48
| | | | | | and implemented it for the EmulateInstructionARM class. llvm-svn: 124563
* Added the start of opcode emulation for ARM instructions. This class is designedGreg Clayton2011-01-211-0/+65
to be fed 4 callbacks: read/write memory, and read/write registers. After this, you can tell the object to read an instruction. This will cause the class to read the PC, and read and instruction. Then you can emulate the instruction by calling EvaluateInstruction. This will cause the class to figure out exactly what an opcode does, and call the read/write mem/regs functions with actual values which allows one to emulate an instruction without running a process, or it allows one to watch the context information (the memory write is a pushing register 3 onto the stack at offset 12) so it can be used for generating call frame information. This way, in the future, we will have one class that can be used to emulate instructions and generate our unwind info from assembly. llvm-svn: 123998
OpenPOWER on IntegriCloud