winIDEA SDK
|
This interface is intended for iSYSTEM's implementation of Eclipse debugger.
It is accessible only from C++ and Java wrapper of isystem.connect.
#include <i_Eclipse.h>
Inherits IUnknown.
Public Types | |
enum | EDisassemblyFlags { dfSymNone = 0x00000000 , dfSymSymbols = 0x00000001 , dfSymSymbolsAndValues = 0x00000002 , dfSymMask = 0x00000003 , dfNextNone = 0x00000000 , dfNextImm = 0x00000004 , dfNextAll = 0x0000000C , dfNextMask = 0x0000000C } |
Flags for methods GetDisassemblySrc(), and GetDisassemblyAdr(). More... | |
enum | EGetStackFrameInfoFlags { sfiActiveFrameOnly = 0x00000001 , sfiAbsolutePath = 0x00000002 } |
Flag for controling returned stack frame info. More... | |
enum | EGetGlobalsFlags { gvfVariables = 0x00000001 , gvfLabels = 0x00000002 , gvfModules = 0x00000004 , gvfFunctions = 0x00000008 , gvfTypes = 0x00000010 , gvfTypedefs = 0x00000020 , gvfMacros = 0x00000040 , gvfInstructions = 0x00000080 , gvfMask = 0x00000FFF , gvfSortAddress = 0x00010000 , gvfSortName = 0x00020000 , gvfSortMask = 0x000F0000 , gvfPartitionSpecify = 0x00000000 , gvfPartitionDefault = 0x00100000 , gvfPartitionCurrent = 0x00200000 , gvfPartitionMask = 0x00300000 } |
Flags for retrieving globals. More... | |
enum | EGetCPUSFR { gcsSFRs = 0x00000001 , gcsGPRs = 0x00000002 , gcsAreas = 0x00000004 } |
Flags for retrieving SFRs. More... | |
enum | ESFRValue { svRead = 0x00000001 , svWrite = 0x00000002 , svWriteThenRead = svWrite | svRead , svNoRefresh = 0x00000010 , svErrorInfo = 0x00000020 } |
Flags for retrieving amd modifying values of SFRs. More... | |
Public Member Functions | |
virtual HRESULT | GetInfo (DWORD dwFlags, SInfo *pInfo) PURE |
Obtains general info about the target, not provided with other methods. More... | |
virtual HRESULT | GetRegisterInfo (DWORD dwFlags, DWORD dwRegister, SRegisterInfo *pInfo) PURE |
Provides info about a register. More... | |
virtual HRESULT | SetStackFrameContext (DWORD dwFlags, DWORD dwContext) PURE |
Sets active stack frame. More... | |
virtual HRESULT | SFRValue (DWORD dwFlags, DWORD dwHandle, SValue &rValue, LPSTR pszError, DWORD dwErrorLen) PURE |
Reads and writes values of SFRs. More... | |
virtual HRESULT | RemoteFileOperation (DWORD dwFlags, const char *pszFileName, DWORD &rdwP1, DWORD &rdwP2, IBuffer *pIBuffer) PURE |
Operates on a file. More... | |
Flags for methods GetDisassemblySrc(), and GetDisassemblyAdr().
Flags for retrieving SFRs.
Enumerator | |
---|---|
gcsSFRs | provide SFRs in the rpICPUSFR, via ICPUSFR::SFRs |
gcsGPRs | provide GPRs in the rpICPUSFR, via ICPUSFR::Property /GPRs |
gcsAreas | provide SFRs in the rpICPUSFR, via ICPUSFR::Property /Areas |
Flags for retrieving globals.
Flag for controling returned stack frame info.
Enumerator | |
---|---|
sfiActiveFrameOnly | if this flag is set, then only the active frame is returned. This speeds up stack retrieval signifcantly. |
sfiAbsolutePath | return absolute paths in IStackFrame |
|
virtual |
Obtains general info about the target, not provided with other methods.
dwFlags | must be zero |
pInfo | pointer to the buffer info will be stored to |
|
virtual |
Provides info about a register.
Only main registers can be accessed by this method. Use GetCPUSFR() and SFRValue() to access SFRs.
dwFlags | must be zero |
dwRegister | register index. Call GetInfo() to get the number of registers on the target. Index should be in range [0 .. SInfo.m_dwNumRegisters - 1] |
pInfo | pointer to the buffer info will be stored to |
|
virtual |
Operates on a file.
dwFlags | see rfoXXXX for possible values. |
pszFileName | path to the file as seen by the server side |
rdwP1 | reserved SBZ |
rdwP2 | reserved SBZ |
pIBuffer | buffer object, must be allocated by the caller for Read (empty, filled by server) and Write Operations |
|
virtual |
Sets active stack frame.
Variables of the selected stack frame are available for evaluator (methods DataController::evaluate() and DataController::mofify()).
dwFlags | reserved, should be 0 |
dwContext | index of the stack frame to be selected |
|
virtual |
Reads and writes values of SFRs.
dwFlags | see ESFRValue for possible values. Flags svNoRefresh and svErrorInfo may be ORed with other flags. |
dwHandle | handle of the SFR. Use method GetCPUSFR() to get handles of SFRs. |
rValue | SFR value |
pszError | error desrription |
dwErrorLen | length of error description |