Searched refs:cpuState (Results 1 - 25 of 49) sorted by relevance

12

/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/debug/arch/x86/
H A Darch_debug_support.cpp23 debug_cpu_state cpuState; local
24 status_t error = debug_get_cpu_state(context, thread, NULL, &cpuState);
28 *ip = (void*)cpuState.eip;
29 *stackFrameAddress = (void*)cpuState.ebp;
/haiku/src/kits/debug/arch/x86_64/
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.rip;
30 *stackFrameAddress = (void*)cpuState.rbp;
/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/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/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...]
/haiku/src/system/kernel/arch/ppc/
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/system/kernel/arch/arm/
H A Darch_user_debugger.cpp52 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) argument
58 arch_get_debug_cpu_state(debug_cpu_state *cpuState) argument
64 arch_get_thread_debug_cpu_state(Thread *thread, 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/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/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/src/system/kernel/arch/m68k/
H A Darch_user_debugger.cpp68 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) argument
74 arch_get_debug_cpu_state(debug_cpu_state *cpuState) argument
80 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
/haiku/headers/private/kernel/arch/
H A Duser_debugger.h35 void arch_set_debug_cpu_state(const debug_cpu_state *cpuState);
36 void arch_get_debug_cpu_state(debug_cpu_state *cpuState);
38 debug_cpu_state *cpuState);
/haiku/headers/private/debugger/controllers/
H A DThreadHandler.h86 bool _HandleThreadStopped(CpuState* cpuState,
91 bool _HandleSetAddress(CpuState* cpuState,
95 CpuState* cpuState, uint32 stoppedReason,
102 bool _DoStepOver(CpuState* cpuState);
113 CpuState* cpuState);
118 bool _HandleBreakpointHitStep(CpuState* cpuState);
119 bool _HandleSingleStepStep(CpuState* cpuState);
/haiku/src/kits/debugger/value/
H A DValueWriter.h26 CpuState* cpuState,
28 // cpuState can be NULL
H A DValueLoader.h25 CpuState* cpuState);
26 // cpuState can be NULL
H A DValueWriter.cpp21 DebuggerInterface* interface, CpuState* cpuState, thread_id targetThread)
25 fCpuState(cpuState),
20 ValueWriter(Architecture* architecture, DebuggerInterface* interface, CpuState* cpuState, thread_id targetThread) argument
/haiku/src/kits/debugger/jobs/
H A DWriteValueNodeJob.cpp25 CpuState* cpuState, TeamTypeInformation* typeInformation,
31 fCpuState(cpuState),
23 WriteValueNodeValueJob( DebuggerInterface* debuggerInterface, Architecture* architecture, CpuState* cpuState, TeamTypeInformation* typeInformation, ValueNode* valueNode, Value* newValue) argument
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DRegistersView.h29 void SetCpuState(CpuState* 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;
/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/debugger/arch/x86_64/
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/headers/private/debug/
H A DDebugContext.h51 debug_cpu_state* cpuState);
/haiku/src/kits/debugger/debug_info/
H A DDebuggerImageDebugInfo.h43 CpuState* cpuState,

Completed in 187 milliseconds

12