Home
last modified time | relevance | path

Searched refs:gpr (Results 1 – 25 of 79) sorted by relevance

1234

/external/elfutils/backends/
Dppc_initreg.c95 const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr); in ppc_set_initial_registers_tid()
97 for (unsigned gpr = 0; gpr < gprs; gpr++) in ppc_set_initial_registers_tid()
98 dwarf_regs[gpr] = user_regs.r.gpr[gpr]; in ppc_set_initial_registers_tid()
/external/strace/linux/or1k/
Dget_syscall_args.c5 tcp->u_arg[0] = or1k_regs.gpr[3 + 0]; in get_syscall_args()
6 tcp->u_arg[1] = or1k_regs.gpr[3 + 1]; in get_syscall_args()
7 tcp->u_arg[2] = or1k_regs.gpr[3 + 2]; in get_syscall_args()
8 tcp->u_arg[3] = or1k_regs.gpr[3 + 3]; in get_syscall_args()
9 tcp->u_arg[4] = or1k_regs.gpr[3 + 4]; in get_syscall_args()
10 tcp->u_arg[5] = or1k_regs.gpr[3 + 5]; in get_syscall_args()
Dget_error.c4 if (check_errno && is_negated_errno(or1k_regs.gpr[11])) { in get_error()
6 tcp->u_error = -or1k_regs.gpr[11]; in get_error()
8 tcp->u_rval = or1k_regs.gpr[11]; in get_error()
/external/strace/linux/powerpc/
Dget_syscall_args.c6 tcp->u_arg[1] = ppc_regs.gpr[4]; in get_syscall_args()
7 tcp->u_arg[2] = ppc_regs.gpr[5]; in get_syscall_args()
8 tcp->u_arg[3] = ppc_regs.gpr[6]; in get_syscall_args()
9 tcp->u_arg[4] = ppc_regs.gpr[7]; in get_syscall_args()
10 tcp->u_arg[5] = ppc_regs.gpr[8]; in get_syscall_args()
Dget_error.c6 tcp->u_error = ppc_regs.gpr[3]; in get_error()
8 tcp->u_rval = ppc_regs.gpr[3]; in get_error()
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DRegisterContextKDP_x86_64.cpp34 RegisterContextKDP_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
40 …_sp.get())->GetCommunication().SendRequestReadRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoReadGPR()
82 RegisterContextKDP_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
88 …sp.get())->GetCommunication().SendRequestWriteRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoWriteGPR()
DRegisterContextKDP_i386.cpp34 RegisterContextKDP_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
40 …_sp.get())->GetCommunication().SendRequestReadRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoReadGPR()
82 RegisterContextKDP_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
88 …sp.get())->GetCommunication().SendRequestWriteRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoWriteGPR()
DRegisterContextKDP_arm.cpp34 RegisterContextKDP_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
40 …_sp.get())->GetCommunication().SendRequestReadRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoReadGPR()
98 RegisterContextKDP_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
104 …sp.get())->GetCommunication().SendRequestWriteRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) in DoWriteGPR()
DRegisterContextKDP_i386.h33 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
42 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
DRegisterContextKDP_x86_64.h34 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
43 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
DRegisterContextKDP_arm.h35 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
47 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
/external/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.cpp124 return m_state.context.gpr.__rip; in GetPC()
135 m_state.context.gpr.__rip = value; in SetPC()
146 return m_state.context.gpr.__rsp; in GetSP()
159 m_state.context.gpr.__rax = ('a' << 8) + 'x'; in GetGPRState()
160 m_state.context.gpr.__rbx = ('b' << 8) + 'x'; in GetGPRState()
161 m_state.context.gpr.__rcx = ('c' << 8) + 'x'; in GetGPRState()
162 m_state.context.gpr.__rdx = ('d' << 8) + 'x'; in GetGPRState()
163 m_state.context.gpr.__rdi = ('d' << 8) + 'i'; in GetGPRState()
164 m_state.context.gpr.__rsi = ('s' << 8) + 'i'; in GetGPRState()
165 m_state.context.gpr.__rbp = ('b' << 8) + 'p'; in GetGPRState()
[all …]
/external/lldb/source/Plugins/Process/Utility/
DRegisterContextMach_i386.cpp34 RegisterContextMach_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
55 RegisterContextMach_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
DRegisterContextMach_x86_64.cpp34 RegisterContextMach_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
55 RegisterContextMach_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
DRegisterContextDarwin_i386.cpp197 gpr(), in RegisterContextDarwin_i386()
447 log->Printf("%12s = 0x%8.8x", g_register_infos[reg].name, (&gpr.eax)[reg]); in LogGPR()
460 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
496 SetError (set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
590 value = (&gpr.eax)[reg - gpr_eax]; in ReadRegister()
710 (&gpr.eax)[reg - gpr_eax] = value.GetAsUInt32(); in WriteRegister()
807 ::memcpy (dst, &gpr, sizeof(gpr)); in ReadAllRegisterValues()
808 dst += sizeof(gpr); in ReadAllRegisterValues()
811 dst += sizeof(gpr); in ReadAllRegisterValues()
825 ::memcpy (&gpr, src, sizeof(gpr)); in WriteAllRegisterValues()
[all …]
DRegisterContextMach_arm.cpp36 RegisterContextMach_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
39 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
64 RegisterContextMach_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
66 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
DRegisterContextDarwin_x86_64.cpp221 gpr(), in RegisterContextDarwin_x86_64()
494 log->Printf("%12s = 0x%16.16" PRIx64, g_register_infos[reg].name, (&gpr.rax)[reg]); in LogGPR()
505 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
541 SetError (set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
637 value = (&gpr.rax)[reg - gpr_rax]; in ReadRegister()
765 (&gpr.rax)[reg - gpr_rax] = value.GetAsUInt64(); in WriteRegister()
866 ::memcpy (dst, &gpr, sizeof(gpr)); in ReadAllRegisterValues()
867 dst += sizeof(gpr); in ReadAllRegisterValues()
870 dst += sizeof(gpr); in ReadAllRegisterValues()
884 ::memcpy (&gpr, src, sizeof(gpr)); in WriteAllRegisterValues()
[all …]
DRegisterContextMach_x86_64.h31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
DRegisterContextMach_i386.h31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
DRegisterContextMach_arm.h32 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
44 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
/external/google-breakpad/src/processor/
Dstackwalker_ppc64.cc98 if (!memory_->GetMemoryAtAddress(last_frame->context.gpr[1], in GetCallerFrame()
100 stack_pointer <= last_frame->context.gpr[1]) { in GetCallerFrame()
119 frame->context.gpr[1] = stack_pointer; in GetCallerFrame()
Dstackwalker_ppc.cc107 if (!memory_->GetMemoryAtAddress(last_frame->context.gpr[1], in GetCallerFrame()
109 stack_pointer <= last_frame->context.gpr[1]) { in GetCallerFrame()
128 frame->context.gpr[1] = stack_pointer; in GetCallerFrame()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-ppc64-linux.c203 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_() argument
204 = tst->arch.vex.guest_GPR##gpr in VG_()
323 # define DO(gpr) tst->arch.vex.guest_GPR##gpr \ in VG_() argument
324 = frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] in VG_()
Dsigframe-ppc32-linux.c145 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext() argument
879 # define DO(gpr) tst->arch.vex.guest_GPR##gpr = mc->mc_gregs[VKI_PT_R0+gpr] in VG_() argument
/external/lldb/tools/debugserver/source/MacOSX/ppc/
DDNBArchImpl.cpp49 return m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(srr0); in GetPC()
60 m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(srr0) = value; in SetPC()
71 return m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(r1); in GetSP()
81 …::thread_get_state(m_thread->MachPortNumber(), e_regSetGPR, (thread_state_t)&m_state.gpr, &count)); in GetGPRState()
122 …et_state(m_thread->MachPortNumber(), e_regSetGPR, (thread_state_t)&m_state.gpr, e_regSetWordSizeGP… in SetGPRState()
198 m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(srr1) |= trace_bit; in EnableHardwareSingleStep()
200 m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(srr1) &= ~trace_bit; in EnableHardwareSingleStep()
471 … value->value.uint32 = (&m_state.gpr.PREFIX_DOUBLE_UNDERSCORE_DARWIN_UNIX03(srr0))[reg]; in GetRegisterValue()

1234