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

12

/haiku-fatelf/src/bin/gdb/gdb/
H A Dhaiku-nat.h29 void haiku_supply_registers(int reg, const debug_cpu_state *cpuState);
30 void haiku_collect_registers(int reg, debug_cpu_state *cpuState);
H A Damd64-haiku-nat.c65 haiku_supply_registers(int reg, const debug_cpu_state *cpuState) argument
70 haiku_supply_registers(i, cpuState);
73 regcache_raw_supply (current_regcache, reg, (char*)cpuState + offset);
76 &cpuState->extended_registers);
82 haiku_collect_registers(int reg, debug_cpu_state *cpuState) argument
87 haiku_collect_registers(i, cpuState);
90 regcache_raw_collect (current_regcache, reg, (char*)cpuState + offset);
93 &cpuState->extended_registers);
H A Di386-haiku-nat.c56 haiku_supply_registers(int reg, const debug_cpu_state *cpuState) argument
61 haiku_supply_registers(i, cpuState);
64 regcache_raw_supply (current_regcache, reg, (char*)cpuState + offset);
67 &cpuState->extended_registers);
73 haiku_collect_registers(int reg, debug_cpu_state *cpuState) argument
78 haiku_collect_registers(i, cpuState);
81 regcache_raw_collect (current_regcache, reg, (char*)cpuState + offset);
84 &cpuState->extended_registers);
/haiku-fatelf/src/apps/debugger/controllers/
H A DThreadHandler.cpp117 CpuState* cpuState = event->GetCpuState(); local
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(); local
218 BReference<CpuState> cpuStateReference(cpuState);
249 if (stackTrace == NULL && cpuState == NULL) {
250 if (fDebuggerInterface->GetCpuState(fThread->ID(), cpuState)
396 _HandleThreadStopped(CpuState* cpuState, uint32 stoppedReason, const BString& stoppedReasonInfo) argument
411 _SetThreadState(uint32 state, CpuState* cpuState, uint32 stoppedReason, const BString& stoppedReasonInfo) argument
462 _DoStepOver(CpuState* cpuState) argument
556 _HandleBreakpointHitStep(CpuState* cpuState) argument
637 _HandleSingleStepStep(CpuState* cpuState) argument
[all...]
H A DThreadHandler.h67 bool _HandleThreadStopped(CpuState* cpuState,
73 CpuState* cpuState, uint32 stoppedReason,
80 bool _DoStepOver(CpuState* cpuState);
91 bool _HandleBreakpointHitStep(CpuState* cpuState);
92 bool _HandleSingleStepStep(CpuState* cpuState);
/haiku-fatelf/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-fatelf/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-fatelf/src/system/kernel/arch/x86/
H A Darch_user_debugger.cpp75 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
78 cpuState->r15 = frame->r15;
79 cpuState->r14 = frame->r14;
80 cpuState->r13 = frame->r13;
81 cpuState->r12 = frame->r12;
82 cpuState->r11 = frame->r11;
83 cpuState->r10 = frame->r10;
84 cpuState->r9 = frame->r9;
85 cpuState->r8 = frame->r8;
86 cpuState
114 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
142 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
167 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
687 arch_set_debug_cpu_state(const debug_cpu_state* cpuState) argument
714 arch_get_debug_cpu_state(debug_cpu_state* cpuState) argument
[all...]
/haiku-fatelf/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-fatelf/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
/haiku-fatelf/src/apps/debugger/arch/
H A DArchitecture.cpp96 ImageDebugInfoProvider* imageInfoProvider, CpuState* cpuState,
100 BReference<CpuState> cpuStateReference(cpuState);
120 cpuState = nextFrame->PreviousCpuState();
123 while (cpuState != NULL) {
125 target_addr_t instructionPointer = cpuState->InstructionPointer();
155 && nextFrame->ReturnAddress() == cpuState->InstructionPointer()) {
157 functionDebugInfo, cpuState);
165 ->CreateFrame(image, function, cpuState, getFullFrameInfo,
175 cpuState, nextFrame == NULL, frame,
192 cpuState
95 CreateStackTrace(Team* team, ImageDebugInfoProvider* imageInfoProvider, CpuState* cpuState, StackTrace*& _stackTrace, target_addr_t returnFunctionAddress, int32 maxStackDepth, bool useExistingTrace, bool getFullFrameInfo) argument
[all...]
H A DArchitecture.h77 CpuState* cpuState, bool isTopFrame,
111 CpuState* cpuState,
/haiku-fatelf/headers/private/kernel/arch/
H A Duser_debugger.h30 void arch_set_debug_cpu_state(const debug_cpu_state *cpuState);
31 void arch_get_debug_cpu_state(debug_cpu_state *cpuState);
/haiku-fatelf/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
/haiku-fatelf/src/system/kernel/arch/mipsel/
H A Darch_user_debugger.cpp50 arch_set_debug_cpu_state(const debug_cpu_state* cpuState) argument
57 arch_get_debug_cpu_state(debug_cpu_state* cpuState) argument
65 debug_cpu_state* cpuState)
64 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/
H A DRegistersView.h25 void SetCpuState(CpuState* cpuState);
H A DRegistersView.cpp98 void SetCpuState(CpuState* cpuState) argument
100 fCpuState = cpuState;
183 RegistersView::SetCpuState(CpuState* cpuState) argument
185 if (cpuState == fCpuState)
191 fCpuState = cpuState;
/haiku-fatelf/src/apps/debugger/value/
H A DValueLoader.h28 CpuState* cpuState);
29 // cpuState can be NULL
/haiku-fatelf/src/apps/debugger/arch/x86/
H A DArchitectureX86.cpp274 CpuStateX86* cpuState = dynamic_cast<CpuStateX86*>(_cpuState); local
276 uint32 framePointer = cpuState->IntRegisterValue(X86_REGISTER_EBP);
277 uint32 eip = cpuState->IntRegisterValue(X86_REGISTER_EIP);
286 if (isTopFrame && cpuState->InterruptVector() == 99) {
295 uint32 esp = cpuState->IntRegisterValue(X86_REGISTER_ESP);
321 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
334 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
345 stack = cpuState->IntRegisterValue(X86_REGISTER_ESP);
369 StackFrame* frame = new(std::nothrow) StackFrame(frameType, cpuState,
418 CpuStateX86* cpuState local
[all...]
/haiku-fatelf/headers/private/debug/
H A DDebugContext.h51 debug_cpu_state* cpuState);
/haiku-fatelf/src/apps/debugger/debug_info/
H A DDebuggerImageDebugInfo.cpp70 FunctionInstance* functionInstance, CpuState* cpuState,
69 CreateFrame(Image* image, FunctionInstance* functionInstance, CpuState* cpuState, bool getFullFrameInfo, target_addr_t returnFunctionAddress, StackFrame*& _previousFrame, CpuState*& _previousCpuState) argument
H A DDebuggerImageDebugInfo.h37 CpuState* cpuState,
H A DSpecificImageDebugInfo.h57 CpuState* cpuState,
/haiku-fatelf/src/apps/debugger/model/
H A DStackFrame.cpp22 StackFrame::StackFrame(stack_frame_type type, CpuState* cpuState, argument
27 fCpuState(cpuState),
/haiku-fatelf/src/kits/debug/
H A DDebugContext.cpp169 debug_debugger_message* _messageCode, debug_cpu_state* cpuState)
171 return debug_get_cpu_state(&fContext, thread, _messageCode, cpuState);
168 GetThreadCpuState(thread_id thread, debug_debugger_message* _messageCode, debug_cpu_state* cpuState) argument

Completed in 120 milliseconds

12