Esempio n. 1
0
dtid_t RemoteSetThread( dtid_t tid )
{
    unsigned            err;

    if( HaveRemoteRunThread() )
        return( RemoteSetRunThreadWithErr( tid, &err ) );
    else
        return( RemoteSetThreadWithErr( tid, &err ) );
}
Esempio n. 2
0
dtid_t RemoteSetThread( dtid_t tid )
{
    error_handle    errh;

    if( HaveRemoteRunThread() ) {
        return( RemoteSetRunThreadWithErr( tid, &errh ) );
    } else {
        return( RemoteSetThreadWithErr( tid, &errh ) );
    }
}
Esempio n. 3
0
void MakeRunThdCurr( thread_state *thd )
{
    unsigned    err;

    if( !AdvMachState( ACTION_THREAD_CHANGE ) ) return;
    if( RemoteSetRunThreadWithErr( thd->tid, &err ) == 0 ) {
        Error( ERR_NONE, LIT( ERR_NO_MAKE_CURR_THREAD ), thd->tid, err );
    }
    DbgRegs->tid = thd->tid;
    ReadDbgRegs();
    SetCodeDot( GetRegIP() );
    DbgUpdate( UP_REG_CHANGE | UP_CSIP_CHANGE | UP_THREAD_STATE );
}
Esempio n. 4
0
dtid_t RemoteSetRunThread( dtid_t tid )
{
    error_idx   erridx;

    return( RemoteSetRunThreadWithErr( tid, &erridx ) );
}