library/src/blockclass/BP-BlockClass.cc
// returns the address of a breakpoint given a bpIdentifier (bpNumber)
returns the address of a breakpoint given a bpIdentifier (bpNumber)
returns the address of a breakpoint given a bpIdentifier ( bpNumber )
void * Block::DbgBreakpointGetAddr(int bpIdentifier)
{
	if(!dbgHandle)
		return NULL;
	P_DEBUG_BREAKPOINT_LIST bpElement = NULL;
	if (BreakpointIsSet(dbgHandle, bpIdentifier) == ERR_SUCCESS)
	{
		bpElement = GetBreakpointByNumber(dbgHandle, bpIdentifier);
		if (bpElement != NULL)
			return bpElement->bpAddr;
	}
	return NULL;
}
void * Block :: DbgBreakpointGetAddr ( int bpIdentifier ) { if ( ! dbgHandle ) return NULL ; P_DEBUG_BREAKPOINT_LIST bpElement = NULL ; if ( BreakpointIsSet ( dbgHandle , bpIdentifier ) == ERR_SUCCESS ) { bpElement = GetBreakpointByNumber ( dbgHandle , bpIdentifier ) ; if ( bpElement != NULL ) return bpElement -> bpAddr ; } return NULL ; }
returns the address of a breakpoint given a bpIdentifier (bpNumber)
returns the address of a breakpoint given a bpIdentifier ( bpNumber )
// ensure we have a debug handle // declare bp element // check if bp is set