Lines Matching defs:cpuState

160 	CpuState* cpuState = event->GetCpuState();
161 target_addr_t instructionPointer = cpuState->InstructionPointer();
169 if (fStepMode != STEP_UNTIL && _HandleBreakpointHitStep(cpuState))
176 cpuState->InstructionPointer());
199 if (_HandleSingleStepStep(cpuState))
207 if (_HandleBreakpointConditionIfNeeded(cpuState))
214 return _HandleThreadStopped(cpuState, THREAD_STOPPED_BREAKPOINT);
318 CpuState* cpuState = fThread->GetCpuState();
320 BReference<CpuState> cpuStateReference(cpuState);
324 _HandleSetAddress(cpuState, address);
359 if (stackTrace == NULL && cpuState == NULL) {
360 if (fDebuggerInterface->GetCpuState(fThread->ID(), cpuState) == B_OK)
361 cpuStateReference.SetTo(cpuState, true);
364 if (stackTrace == NULL && cpuState != NULL) {
366 fThread->GetTeam(), this, cpuState, stackTrace, NULL, 1,
509 ThreadHandler::_HandleThreadStopped(CpuState* cpuState, uint32 stoppedReason,
516 _SetThreadState(THREAD_STATE_STOPPED, cpuState, stoppedReason,
544 ThreadHandler::_SetThreadState(uint32 state, CpuState* cpuState,
548 fThread->SetCpuState(cpuState);
595 ThreadHandler::_DoStepOver(CpuState* cpuState)
605 cpuState->InstructionPointer(), info, cpuState) != B_OK) {
611 _SingleStepThread(cpuState->InstructionPointer());
625 _RunThread(cpuState->InstructionPointer());
690 ThreadHandler::_HandleBreakpointHitStep(CpuState* cpuState)
701 if (stackTrace == NULL && cpuState != NULL) {
703 fThread->GetTeam(), this, cpuState, stackTrace, NULL,
715 cpuState->InstructionPointer());
719 _RunThread(cpuState->InstructionPointer());
725 && fSteppedOverFunctionAddress != cpuState->InstructionPointer()) {
731 fSteppedOverFunctionAddress, cpuState);
747 cpuState->InstructionPointer())) {
748 if (!_DoStepOver(cpuState))
765 if (!_HasExitedFrame(cpuState->StackFramePointer())) {
767 cpuState->InstructionPointer());
771 _RunThread(cpuState->InstructionPointer());
780 " - step out adding return value\n", cpuState
783 fPreviousInstructionPointer, cpuState);
801 ThreadHandler::_HandleSingleStepStep(CpuState* cpuState)
804 cpuState->InstructionPointer());
810 if (fStepStatement->ContainsAddress(cpuState->InstructionPointer())) {
811 _SingleStepThread(cpuState->InstructionPointer());
818 if (stackTrace == NULL && cpuState != NULL) {
820 fThread->GetTeam(), this, cpuState, stackTrace, NULL,
838 cpuState->InstructionPointer())
840 _SingleStepThread(cpuState->InstructionPointer());
850 if (!fStepStatement->ContainsAddress(cpuState->InstructionPointer())) {
853 if (stackTrace == NULL && cpuState != NULL) {
855 fThread->GetTeam(), this, cpuState, stackTrace,
869 ->CoveringAddressRange().Start(), cpuState);
881 return _DoStepOver(cpuState);
893 ThreadHandler::_HandleBreakpointConditionIfNeeded(CpuState* cpuState)
897 cpuState->InstructionPointer());
922 fThread->GetTeam(), this, cpuState, stackTrace, NULL, 1,
981 _SetThreadState(THREAD_STATE_STOPPED, cpuState,