LLDB mainline
|
#include "NativeProcessSoftwareSingleStep.h"
#include "lldb/Core/EmulateInstruction.h"
#include "lldb/Host/common/NativeRegisterContext.h"
#include "lldb/Utility/RegisterValue.h"
#include <unordered_map>
Go to the source code of this file.
Functions | |
static size_t | ReadMemoryCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, size_t length) |
static bool | ReadRegisterCallback (EmulateInstruction *instruction, void *baton, const RegisterInfo *reg_info, RegisterValue ®_value) |
static bool | WriteRegisterCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, const RegisterInfo *reg_info, const RegisterValue ®_value) |
static size_t | WriteMemoryCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t length) |
static lldb::addr_t | ReadFlags (NativeRegisterContext ®siter_context) |
static int | GetSoftwareBreakpointSize (const ArchSpec &arch, lldb::addr_t next_flags) |
static Status | SetSoftwareBreakpointOnPC (const ArchSpec &arch, lldb::addr_t pc, lldb::addr_t next_flags, NativeProcessProtocol &process) |
|
static |
Definition at line 97 of file NativeProcessSoftwareSingleStep.cpp.
References lldb_private::ArchSpec::GetMachine(), lldb_private::ArchSpec::GetTriple(), and lldb_private::ArchSpec::IsMIPS().
Referenced by SetSoftwareBreakpointOnPC().
|
static |
Definition at line 90 of file NativeProcessSoftwareSingleStep.cpp.
References lldb::eRegisterKindGeneric, lldb_private::NativeRegisterContext::GetRegisterInfo(), LLDB_INVALID_ADDRESS, LLDB_REGNUM_GENERIC_FLAGS, and lldb_private::NativeRegisterContext::ReadRegisterAsUnsigned().
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
static |
Definition at line 36 of file NativeProcessSoftwareSingleStep.cpp.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
static |
Definition at line 46 of file NativeProcessSoftwareSingleStep.cpp.
References lldb::eRegisterKindDWARF, error(), and lldb_private::RegisterInfo::kinds.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
static |
Definition at line 112 of file NativeProcessSoftwareSingleStep.cpp.
References error(), GetSoftwareBreakpointSize(), pc, and lldb_private::NativeProcessProtocol::SetBreakpoint().
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
static |
Definition at line 83 of file NativeProcessSoftwareSingleStep.cpp.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
static |
Definition at line 73 of file NativeProcessSoftwareSingleStep.cpp.
References lldb::eRegisterKindDWARF, and lldb_private::RegisterInfo::kinds.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().