winIDEA SDK
IConnectDebug::SStatus Struct Reference

Description

Contains CPU status.

#include <i_Connect.h>

Public Types

enum  EStatus {
  stMustInit = 0x00 , stStopped = 0x01 ,
  stRunning = 0x02 , stReset = 0x03 ,
  stHalted = 0x04 , stWaiting = 0x05 ,
  stAttach = 0x06 , stIdle = 0x07 ,
  stMask = 0x07 , srExplicit = 0x10 ,
  srBP = 0x20 , srStep = 0x30 ,
  srHW = 0x40 , srMask = 0x70
}
 This enum defines two groups of values. More...
 

Public Attributes

ADDRESS m_aExecutionPoint
 current execution point. Valid when stStopped.
 
BYTE m_byExecutionArea
 current memory area. Valid when stStopped.
 
BYTE m_byStatus
 status, see SStatus::EStatus above
 
WORD m_wReserved
 reserved
 

Member Enumeration Documentation

◆ EStatus

This enum defines two groups of values.

Values from the first group define status, while values from the second group more precisely describe stStatus. They are present only when {status == stStopped}.

Enumerator
stMustInit 

the debug system must initialize

stStopped 

CPU is stopped.

stRunning 

CPU is running.

stReset 

CPU is held in reset.

stHalted 

CPU is halted by target.

stWaiting 

CPU is halted by emulator.

stAttach 

debugger is initialized and waiting for hot attach on the target

stIdle 

CPU idle.

stMask 

mask for stXXX values

srExplicit 

CPU is stopped explicitly by the user.

srBP 

CPU is stopped due to execution BP hit.

srStep 

CPU is stopped after a step/over/until/until return command.

srHW 

CPU is stopped after a hardware breakpoint hit.

srMask 

mask for srXXX values