void ActPoint( brkp *bp, bool act ) { if( act && bp->status.b.unmapped ) return; DoActPoint( bp, act ); DbgUpdate( UP_BREAK_CHANGE ); }
void BrkDisableAll( void ) { brkp *bp; for( bp = BrkList; bp != NULL; bp = bp->next ) { DoActPoint( bp, false ); } DbgUpdate( UP_BREAK_CHANGE ); }
void BPsDeac( void ) { brkp *bp; for( bp = BrkList; bp != NULL; bp = bp->next ) { DoActPoint( bp, false ); } DbgUpdate( UP_BREAK_CHANGE ); NullStatus( &UserTmpBrk ); NullStatus( &DbgTmpBrk ); }
brkp *AddBreak( address addr ) { brkp *bp; for( bp = BrkList; bp != NULL; bp = bp->next ) { if( AddrComp( bp->loc.addr, addr ) == 0 ) { DoActPoint( bp, true ); DbgUpdate( UP_BREAK_CHANGE ); return( bp ); } } bp = AddPoint( addr, BP_EXECUTE, false ); if( bp != NULL ) RecordBreakEvent( bp, B_SET ); return( bp ); }
extern brkp *AddBreak( address addr ) { brkp *bp; for( bp = BrkList; bp != NULL; bp = bp->next ) { if( AddrComp( bp->loc.addr, addr ) == 0 ) { DoActPoint( bp, TRUE ); DbgUpdate( UP_BREAK_CHANGE ); return( bp ); } } bp = AddPoint( addr, MAD_NIL_TYPE_HANDLE, FALSE ); if( bp == NULL ) return( NULL ); RecordBreakEvent( bp, B_SET ); return( bp ); }