/external/elfutils/backends/ |
D | ppc_initreg.c | 95 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/ |
D | get_syscall_args.c | 5 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()
|
D | get_error.c | 4 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/ |
D | get_syscall_args.c | 6 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()
|
D | get_error.c | 6 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/ |
D | RegisterContextKDP_x86_64.cpp | 34 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()
|
D | RegisterContextKDP_i386.cpp | 34 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()
|
D | RegisterContextKDP_arm.cpp | 34 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()
|
D | RegisterContextKDP_i386.h | 33 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 42 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
|
D | RegisterContextKDP_x86_64.h | 34 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 43 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
|
D | RegisterContextKDP_arm.h | 35 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/ |
D | DNBArchImplX86_64.cpp | 124 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/ |
D | RegisterContextMach_i386.cpp | 34 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()
|
D | RegisterContextMach_x86_64.cpp | 34 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()
|
D | RegisterContextDarwin_i386.cpp | 197 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 …]
|
D | RegisterContextMach_arm.cpp | 36 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()
|
D | RegisterContextDarwin_x86_64.cpp | 221 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 …]
|
D | RegisterContextMach_x86_64.h | 31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
|
D | RegisterContextMach_i386.h | 31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr); 40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
|
D | RegisterContextMach_arm.h | 32 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/ |
D | stackwalker_ppc64.cc | 98 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()
|
D | stackwalker_ppc.cc | 107 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/ |
D | sigframe-ppc64-linux.c | 203 # 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_()
|
D | sigframe-ppc32-linux.c | 145 # 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/ |
D | DNBArchImpl.cpp | 49 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()
|