Searched refs:cpuState (Results 1 - 25 of 49) sorted by last modified time

12

/haiku/src/kits/debugger/debug_info/
H A DDwarfImageDebugInfo.cpp179 RegisterMap* fromDwarfMap, RegisterMap* toDwarfMap, CpuState* cpuState,
185 fCpuState(cpuState)
587 FunctionInstance* functionInstance, CpuState* cpuState,
629 fromDwarfMap, toDwarfMap, cpuState, fArchitecture,
647 = cpuState->InstructionPointer() - fRelocationDelta;
693 cpuState, framePointer, cpuState->InstructionPointer(),
178 UnwindTargetInterface(const Register* registers, int32 registerCount, RegisterMap* fromDwarfMap, RegisterMap* toDwarfMap, CpuState* cpuState, Architecture* architecture, TeamMemory* teamMemory) argument
586 CreateFrame(Image* image, FunctionInstance* functionInstance, CpuState* cpuState, bool getFullFrameInfo, ReturnValueInfoList* returnValueInfos, StackFrame*& _frame, CpuState*& _previousCpuState) argument
H A DDwarfImageDebugInfo.h73 CpuState* cpuState,
/haiku/src/system/kernel/debug/
H A Duser_debugger.cpp1887 const debug_cpu_state &cpuState local
1901 memcpy(&commandMessage.cpu_state, &cpuState,
2822 cpu_status cpuState = disable_interrupts(); local
2835 restore_interrupts(cpuState);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DTeamWindow.cpp1001 TeamWindow::ValueNodeValueRequested(CpuState* cpuState, argument
1004 fListener->ValueNodeValueRequested(cpuState, container, valueNode);
1660 CpuState* cpuState = NULL; local
1668 cpuState = fActiveThread->GetCpuState();
1669 cpuStateReference.SetTo(cpuState);
1672 cpuState = fActiveStackFrame->GetCpuState();
1675 fRegistersView->SetCpuState(cpuState);
H A DRegistersView.cpp131 void SetCpuState(CpuState* cpuState) argument
133 fCpuState = cpuState;
257 RegistersView::SetCpuState(CpuState* cpuState) argument
259 if (cpuState == fCpuState)
265 fCpuState = cpuState;
H A DTeamWindow.h139 virtual void ValueNodeValueRequested(CpuState* cpuState,
H A DVariablesView.h167 virtual void ValueNodeValueRequested(CpuState* cpuState,
/haiku/src/kits/debug/arch/riscv64/
H A Darch_debug_support.cpp24 debug_cpu_state cpuState; local
25 status_t error = debug_get_cpu_state(context, thread, NULL, &cpuState);
29 *ip = (void*)cpuState.pc;
30 *stackFrameAddress = (void*)cpuState.x[7];
/haiku/src/system/kernel/arch/riscv64/
H A Darch_user_debugger.cpp46 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) argument
50 frame->ra = cpuState->x[ 0];
51 frame->sp = cpuState->x[ 1];
52 frame->gp = cpuState->x[ 2];
53 frame->tp = cpuState->x[ 3];
54 frame->t0 = cpuState->x[ 4];
55 frame->t1 = cpuState->x[ 5];
56 frame->t2 = cpuState->x[ 6];
57 frame->fp = cpuState->x[ 7];
58 frame->s1 = cpuState
87 arch_get_debug_cpu_state(debug_cpu_state *cpuState) argument
89 arch_get_thread_debug_cpu_state(thread_get_current_thread(), cpuState); local
94 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
[all...]
/haiku/src/system/kernel/arch/x86/
H A Darch_user_debugger.cpp79 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
82 cpuState->r15 = frame->r15;
83 cpuState->r14 = frame->r14;
84 cpuState->r13 = frame->r13;
85 cpuState->r12 = frame->r12;
86 cpuState->r11 = frame->r11;
87 cpuState->r10 = frame->r10;
88 cpuState->r9 = frame->r9;
89 cpuState->r8 = frame->r8;
90 cpuState
120 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
148 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
173 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
202 get_cpu_state(Thread* thread, iframe* frame, debug_cpu_state* cpuState) argument
744 arch_set_debug_cpu_state(const debug_cpu_state* cpuState) argument
776 arch_get_debug_cpu_state(debug_cpu_state* cpuState) argument
779 get_cpu_state(thread_get_current_thread(), frame, cpuState); local
792 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
[all...]
/haiku/src/kits/debugger/arch/x86_64/
H A DArchitectureX8664.h50 CpuState* cpuState, bool isTopFrame,
H A DArchitectureX8664.cpp437 CpuStateX8664* cpuState = dynamic_cast<CpuStateX8664*>(_cpuState); local
438 uint64 framePointer = cpuState->IntRegisterValue(X86_64_REGISTER_RBP);
439 uint64 rip = cpuState->IntRegisterValue(X86_64_REGISTER_RIP);
448 if (isTopFrame && cpuState->InterruptVector() == 99) {
457 uint64 rsp = cpuState->IntRegisterValue(X86_64_REGISTER_RSP);
483 stack = cpuState->IntRegisterValue(X86_64_REGISTER_RSP);
496 stack = cpuState->IntRegisterValue(
508 stack = cpuState->IntRegisterValue(X86_64_REGISTER_RSP);
532 StackFrame* frame = new(std::nothrow) StackFrame(frameType, cpuState,
581 CpuStateX8664* cpuState local
[all...]
/haiku/src/kits/debugger/controllers/
H A DThreadHandler.cpp160 CpuState* cpuState = event->GetCpuState(); local
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(); local
320 BReference<CpuState> cpuStateReference(cpuState);
324 _HandleSetAddress(cpuState, addres
509 _HandleThreadStopped(CpuState* cpuState, uint32 stoppedReason, const BString& stoppedReasonInfo) argument
544 _SetThreadState(uint32 state, CpuState* cpuState, uint32 stoppedReason, const BString& stoppedReasonInfo) argument
595 _DoStepOver(CpuState* cpuState) argument
690 _HandleBreakpointHitStep(CpuState* cpuState) argument
801 _HandleSingleStepStep(CpuState* cpuState) argument
893 _HandleBreakpointConditionIfNeeded(CpuState* cpuState) argument
[all...]
H A DTeamDebugger.cpp1048 TeamDebugger::ValueNodeValueRequested(CpuState* cpuState, argument
1065 fDebuggerInterface->GetArchitecture(), cpuState,
/haiku/src/system/kernel/arch/arm64/
H A Darch_user_debugger.cpp42 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) argument
48 arch_get_debug_cpu_state(debug_cpu_state *cpuState) argument
54 arch_get_thread_debug_cpu_state(Thread *thread, debug_cpu_state *cpuState) argument
/haiku/src/kits/debug/
H A Ddebug_support.cpp289 debug_debugger_message *messageCode, debug_cpu_state *cpuState)
291 if (!context || !cpuState)
308 *cpuState = reply.cpu_state;
288 debug_get_cpu_state(debug_context *context, thread_id thread, debug_debugger_message *messageCode, debug_cpu_state *cpuState) argument
/haiku/src/system/kernel/arch/sparc/
H A Darch_user_debugger.cpp46 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) argument
52 arch_get_debug_cpu_state(debug_cpu_state *cpuState) argument
58 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
/haiku/src/kits/debugger/arch/x86/
H A DArchitectureX86.cpp360 CpuStateX86* cpuState = dynamic_cast<CpuStateX86*>(_cpuState); local
362 uint32 framePointer = cpuState->IntRegisterValue(X86_REGISTER_EBP);
363 uint32 eip = cpuState->IntRegisterValue(X86_REGISTER_EIP);
372 if (isTopFrame && cpuState->InterruptVector() == 99) {
381 uint32 esp = cpuState->IntRegisterValue(X86_REGISTER_ESP);
407 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
420 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
431 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
455 StackFrame* frame = new(std::nothrow) StackFrame(frameType, cpuState,
504 CpuStateX86* cpuState local
[all...]
/haiku/src/kits/debug/arch/sparc/
H A Darch_debug_support.cpp24 debug_cpu_state cpuState; local
25 status_t error = debug_get_cpu_state(context, thread, NULL, &cpuState);
29 *pc = (void*)cpuState.pc;
30 *stackFrameAddress = (void*)cpuState.i6;
/haiku/headers/private/debugger/user_interface/
H A DUserInterface.h117 virtual void ValueNodeValueRequested(CpuState* cpuState,
/haiku/src/kits/debugger/model/
H A DStackFrame.cpp22 StackFrame::StackFrame(stack_frame_type type, CpuState* cpuState, argument
27 fCpuState(cpuState),
/haiku/src/apps/debugger/user_interface/gui/expression_eval_window/
H A DExpressionEvaluationWindow.cpp231 ExpressionEvaluationWindow::ValueNodeValueRequested(CpuState* cpuState, argument
234 fListener->ValueNodeValueRequested(cpuState, container, valueNode);
/haiku/src/kits/debugger/arch/
H A DArchitecture.cpp98 ImageDebugInfoProvider* imageInfoProvider, CpuState* cpuState,
102 BReference<CpuState> cpuStateReference(cpuState);
122 cpuState = nextFrame->PreviousCpuState();
125 while (cpuState != NULL) {
127 target_addr_t instructionPointer = cpuState->InstructionPointer();
157 && nextFrame->ReturnAddress() == cpuState->InstructionPointer()) {
159 functionDebugInfo, cpuState);
167 ->CreateFrame(image, function, cpuState, getFullFrameInfo,
178 cpuState, nextFrame == NULL, frame, previousCpuState);
194 cpuState
97 CreateStackTrace(Team* team, ImageDebugInfoProvider* imageInfoProvider, CpuState* cpuState, StackTrace*& _stackTrace, ReturnValueInfoList* returnValueInfos, int32 maxStackDepth, bool useExistingTrace, bool getFullFrameInfo) argument
[all...]
/haiku/headers/private/debugger/arch/
H A DArchitecture.h85 CpuState* cpuState, bool isTopFrame,
123 CpuState* cpuState,
/haiku/headers/private/debugger/controllers/
H A DTeamDebugger.h85 virtual void ValueNodeValueRequested(CpuState* cpuState,

Completed in 111 milliseconds

12