dtid_t RemoteSetThread( dtid_t tid ) { unsigned err; if( HaveRemoteRunThread() ) return( RemoteSetRunThreadWithErr( tid, &err ) ); else return( RemoteSetThreadWithErr( tid, &err ) ); }
dtid_t RemoteSetThread( dtid_t tid ) { error_handle errh; if( HaveRemoteRunThread() ) { return( RemoteSetRunThreadWithErr( tid, &errh ) ); } else { return( RemoteSetThreadWithErr( tid, &errh ) ); } }
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 ); }
dtid_t RemoteSetRunThread( dtid_t tid ) { error_idx erridx; return( RemoteSetRunThreadWithErr( tid, &erridx ) ); }