Lines Matching defs:cpuState

117 	CpuState* cpuState = event->GetCpuState();
118 target_addr_t instructionPointer = cpuState->InstructionPointer();
126 if (_HandleBreakpointHitStep(cpuState))
133 cpuState->InstructionPointer());
156 if (_HandleSingleStepStep(cpuState))
165 return _HandleThreadStopped(cpuState, THREAD_STOPPED_BREAKPOINT);
216 CpuState* cpuState = fThread->GetCpuState();
218 BReference<CpuState> cpuStateReference(cpuState);
249 if (stackTrace == NULL && cpuState == NULL) {
250 if (fDebuggerInterface->GetCpuState(fThread->ID(), cpuState) == B_OK)
251 cpuStateReference.SetTo(cpuState, true);
254 if (stackTrace == NULL && cpuState != NULL) {
256 fThread->GetTeam(), this, cpuState, stackTrace, 0, 1,
396 ThreadHandler::_HandleThreadStopped(CpuState* cpuState, uint32 stoppedReason,
403 _SetThreadState(THREAD_STATE_STOPPED, cpuState, stoppedReason,
411 ThreadHandler::_SetThreadState(uint32 state, CpuState* cpuState,
415 fThread->SetCpuState(cpuState);
462 ThreadHandler::_DoStepOver(CpuState* cpuState)
472 cpuState->InstructionPointer(), info, cpuState) != B_OK) {
478 _SingleStepThread(cpuState->InstructionPointer());
491 _RunThread(cpuState->InstructionPointer());
556 ThreadHandler::_HandleBreakpointHitStep(CpuState* cpuState)
567 if (stackTrace == NULL && cpuState != NULL) {
569 fThread->GetTeam(), this, cpuState, stackTrace, 0, 1,
581 cpuState->InstructionPointer());
585 _RunThread(cpuState->InstructionPointer());
593 cpuState->InstructionPointer())) {
594 if (!_DoStepOver(cpuState))
611 fThread->SetExecutedSubroutine(cpuState->InstructionPointer());
612 target_addr_t framePointer = cpuState->StackFramePointer();
620 cpuState->InstructionPointer());
624 _RunThread(cpuState->InstructionPointer());
637 ThreadHandler::_HandleSingleStepStep(CpuState* cpuState)
640 cpuState->InstructionPointer());
646 if (fStepStatement->ContainsAddress(cpuState->InstructionPointer())) {
647 _SingleStepThread(cpuState->InstructionPointer());
654 if (stackTrace == NULL && cpuState != NULL) {
656 fThread->GetTeam(), this, cpuState, stackTrace, 0, 1,
671 cpuState->InstructionPointer())
673 _SingleStepThread(cpuState->InstructionPointer());
683 if (!fStepStatement->ContainsAddress(cpuState->InstructionPointer())) {
686 if (stackTrace == NULL && cpuState != NULL) {
688 fThread->GetTeam(), this, cpuState, stackTrace, 0,
697 cpuState->InstructionPointer());
702 return _DoStepOver(cpuState);