hanchenye-llvm-project/lldb
Greg Clayton 2ed751bd47 Changed the emulate instruction function to take emulate options which
are defined as enumerations. Current bits include:

        eEmulateInstructionOptionAutoAdvancePC
        eEmulateInstructionOptionIgnoreConditions

Modified the EmulateInstruction class to have a few more pure virtuals that
can help clients understand how many instructions the emulator can handle:

        virtual bool
        SupportsEmulatingIntructionsOfType (InstructionType inst_type) = 0;


Where instruction types are defined as:

//------------------------------------------------------------------
/// Instruction types
//------------------------------------------------------------------    
typedef enum InstructionType
{
    eInstructionTypeAny,                // Support for any instructions at all (at least one)
    eInstructionTypePrologueEpilogue,   // All prologue and epilogue instructons that push and pop register values and modify sp/fp
    eInstructionTypePCModifying,        // Any instruction that modifies the program counter/instruction pointer
    eInstructionTypeAll                 // All instructions of any kind

}  InstructionType;


This allows use to tell what an emulator can do and also allows us to request
these abilities when we are finding the plug-in interface.

Added the ability for an EmulateInstruction class to get the register names
for any registers that are part of the emulation. This helps with being able
to dump and log effectively.

The UnwindAssembly class now stores the architecture it was created with in
case it is needed later in the unwinding process.

Added a function that can tell us DWARF register names for ARM that goes
along with the source/Utility/ARM_DWARF_Registers.h file: 

        source/Utility/ARM_DWARF_Registers.c
        
Took some of plug-ins out of the lldb_private namespace.

llvm-svn: 130189
2011-04-26 04:39:08 +00:00
..
docs Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener. 2011-01-08 20:28:42 +00:00
examples The example had gotten stale, so I made it work again, and for fun printed out the frame registers as well. 2011-03-30 01:55:23 +00:00
include Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
lib Add makefile support for the ARM instruction emulation plugin. 2011-04-08 02:01:35 +00:00
lldb.xcodeproj Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Bumped Xcode project versions to lldb-46 and debugserver-131. 2011-01-29 07:14:26 +00:00
scripts Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, 2011-04-25 20:23:05 +00:00
source Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
test For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. 2011-04-25 23:38:13 +00:00
tools Put plug-ins into the correct directories as they were incorrectly located 2011-04-25 18:36:36 +00:00
utils Add a Python script which launches a program from within lldb and loop until the 2011-04-02 01:20:28 +00:00
www Reroute the blog link to the LLVM blog site. 2011-04-22 21:03:40 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Python override patch from Jai Menon. 2011-02-05 02:32:19 +00:00