/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-tilegx-linux.c | 79 sc->gregs[0] = tst->arch.vex.guest_r0; in setup_sigcontext2() 80 sc->gregs[1] = tst->arch.vex.guest_r1; in setup_sigcontext2() 81 sc->gregs[2] = tst->arch.vex.guest_r2; in setup_sigcontext2() 82 sc->gregs[3] = tst->arch.vex.guest_r3; in setup_sigcontext2() 83 sc->gregs[4] = tst->arch.vex.guest_r4; in setup_sigcontext2() 84 sc->gregs[5] = tst->arch.vex.guest_r5; in setup_sigcontext2() 85 sc->gregs[6] = tst->arch.vex.guest_r6; in setup_sigcontext2() 86 sc->gregs[7] = tst->arch.vex.guest_r7; in setup_sigcontext2() 87 sc->gregs[8] = tst->arch.vex.guest_r8; in setup_sigcontext2() 88 sc->gregs[9] = tst->arch.vex.guest_r9; in setup_sigcontext2() [all …]
|
/external/libunwind/src/ppc32/ |
D | ucontext_i.h | 49 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0] - (void *)&dmy_ctxt) 50 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1] - (void *)&dmy_ctxt) 51 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[2] - (void *)&dmy_ctxt) 52 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[3] - (void *)&dmy_ctxt) 53 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[4] - (void *)&dmy_ctxt) 54 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[5] - (void *)&dmy_ctxt) 55 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[6] - (void *)&dmy_ctxt) 56 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[7] - (void *)&dmy_ctxt) 57 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[8] - (void *)&dmy_ctxt) 58 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[9] - (void *)&dmy_ctxt) [all …]
|
D | Ginit.c | 51 addr = &uc->uc_mcontext.uc_regs->gregs[reg - UNW_PPC32_R0]; in uc_addr() 79 addr = &uc->uc_mcontext.uc_regs->gregs[gregs_idx]; in uc_addr()
|
/external/libunwind/src/sh/ |
D | Gresume.c | 44 regs[0] = uc->uc_mcontext.gregs[8]; in sh_local_resume() 45 regs[1] = uc->uc_mcontext.gregs[9]; in sh_local_resume() 46 regs[2] = uc->uc_mcontext.gregs[10]; in sh_local_resume() 47 regs[3] = uc->uc_mcontext.gregs[11]; in sh_local_resume() 48 regs[4] = uc->uc_mcontext.gregs[12]; in sh_local_resume() 49 regs[5] = uc->uc_mcontext.gregs[13]; in sh_local_resume() 50 regs[6] = uc->uc_mcontext.gregs[14]; in sh_local_resume() 51 regs[7] = uc->uc_mcontext.gregs[15]; in sh_local_resume() 81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; in sh_local_resume() 82 sc->sc_regs[1] = uc->uc_mcontext.gregs[1]; in sh_local_resume() [all …]
|
D | Ginit.c | 46 return &uc->uc_mcontext.gregs[reg]; in uc_addr()
|
/external/libunwind/src/x86_64/ |
D | Gos-linux.c | 113 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr() 114 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr() 115 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr() 116 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr() 117 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr() 118 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr() 119 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr() 120 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr() 121 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr() 122 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr() [all …]
|
D | init.h | 33 DWARF_LOC ((unw_word_t) &c->uc->uc_mcontext.gregs[REG_ ## ruc], 0)
|
/external/libunwind/src/x86/ |
D | Gos-linux.c | 258 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; in x86_r_uc_addr() 259 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; in x86_r_uc_addr() 260 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; in x86_r_uc_addr() 261 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; in x86_r_uc_addr() 262 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; in x86_r_uc_addr() 263 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; in x86_r_uc_addr() 264 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; in x86_r_uc_addr() 265 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; in x86_r_uc_addr() 266 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; in x86_r_uc_addr() 267 case UNW_X86_EDI: addr = &uc->uc_mcontext.gregs[REG_EDI]; break; in x86_r_uc_addr() [all …]
|
/external/elfutils/src/backends/ |
D | aarch64_initreg.c | 59 struct user_regs_struct gregs; in aarch64_set_initial_registers_tid() 61 iovec.iov_base = &gregs; in aarch64_set_initial_registers_tid() 62 iovec.iov_len = sizeof (gregs); in aarch64_set_initial_registers_tid() 67 if (! setfunc (0, 32, (Dwarf_Word *) &gregs.regs[0], arg)) in aarch64_set_initial_registers_tid() 71 if (! setfunc (-1, 1, (Dwarf_Word *) &gregs.pc, arg)) in aarch64_set_initial_registers_tid()
|
D | arm_initreg.c | 74 struct user_regs_struct gregs; in arm_set_initial_registers_tid() 76 iovec.iov_base = &gregs; in arm_set_initial_registers_tid() 77 iovec.iov_len = sizeof (gregs); in arm_set_initial_registers_tid() 83 uint32_t *u32_ptr = (uint32_t *) &gregs.regs[0]; in arm_set_initial_registers_tid()
|
/external/v8/src/ |
D | sampler.cc | 96 uint64_t gregs[32]; member 124 uint32_t gregs[19]; member 143 uint64_t gregs[23]; member 375 state.pc = reinterpret_cast<Address>(mcontext.gregs[REG_EIP]); in HandleProfilerSignal() 376 state.sp = reinterpret_cast<Address>(mcontext.gregs[REG_ESP]); in HandleProfilerSignal() 377 state.fp = reinterpret_cast<Address>(mcontext.gregs[REG_EBP]); in HandleProfilerSignal() 379 state.pc = reinterpret_cast<Address>(mcontext.gregs[REG_RIP]); in HandleProfilerSignal() 380 state.sp = reinterpret_cast<Address>(mcontext.gregs[REG_RSP]); in HandleProfilerSignal() 381 state.fp = reinterpret_cast<Address>(mcontext.gregs[REG_RBP]); in HandleProfilerSignal() 387 state.pc = reinterpret_cast<Address>(mcontext.gregs[R15]); in HandleProfilerSignal() [all …]
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 103 const prgregset_t *gregs = &(lsp->pr_reg); in IsLwpCrashedCallback() local 105 uintptr_t last_ebp = (*gregs)[R_FP]; in IsLwpCrashedCallback() 107 uintptr_t last_ebp = (*gregs)[EBP]; in IsLwpCrashedCallback() 156 int* regs = sig_ctx->uc_mcontext.gregs; in WriteContext() 171 context->g_r[i] = (uintptr_t)(sig_ctx->uc_mcontext.gregs[i + 3]); in WriteContext() 242 writer_args->sig_ctx->uc_mcontext.gregs[REG_O6], in WriteCrashedLwpStream() 256 writer_args->sig_ctx->uc_mcontext.gregs[UESP], in WriteCrashedLwpStream() 267 (int *)&writer_args->sig_ctx->uc_mcontext.gregs, in WriteCrashedLwpStream() 276 const prgregset_t *gregs = &(lsp->pr_reg); in WriteLwpStream() local 280 (*gregs)[R_SP], in WriteLwpStream() [all …]
|
D | solaris_lwp.cc | 417 uintptr_t sig_esp = (*sig_ctx)->uc_mcontext.gregs[REG_O6]; in FindSigContext() 426 sig_ebp = (*sig_ctx)->uc_mcontext.gregs[EBP]; in FindSigContext()
|
/external/google-breakpad/src/common/android/ |
D | breakpad_getcontext_unittest.cc | 71 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST() 74 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) in TEST() 102 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST() 116 offsetof(ucontext_t,uc_mcontext.gregs), in TEST() 120 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x]), reg_##x) in TEST() 179 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST()
|
/external/google-breakpad/src/client/linux/dump_writer_common/ |
D | ucontext_reader.cc | 44 return uc->uc_mcontext.gregs[REG_ESP]; in GetStackPointer() 48 return uc->uc_mcontext.gregs[REG_EIP]; in GetInstructionPointer() 53 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext() 92 return uc->uc_mcontext.gregs[REG_RSP]; 96 return uc->uc_mcontext.gregs[REG_RIP]; 101 const greg_t* regs = uc->uc_mcontext.gregs; 214 return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; 225 out->iregs[i] = uc->uc_mcontext.gregs[i];
|
/external/valgrind/none/tests/x86-linux/ |
D | sigcontext.c | 16 if (uc->uc_mcontext.gregs[REG_EAX] != 0) in handler1() 17 printf("FAILED: handler2 expected eax == 0, not %d\n", uc->uc_mcontext.gregs[REG_EAX]); in handler1() 18 uc->uc_mcontext.gregs[REG_EAX] = VAL1; in handler1()
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | fetch.c | 38 struct user_pt_regs gregs; member 49 if (aarch64_read_gregs(proc, &context->gregs) < 0 in context_init() 56 context->nsaa = (arch_addr_t) (uintptr_t) context->gregs.sp; in context_init() 74 uint64_t u = context->gregs.regs[context->ngrn++]; in fetch_next_gpr() 314 context->x8 = (arch_addr_t) (uintptr_t) context->gregs.regs[8]; in arch_fetch_arg_init()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 640 if (!context.context.uc_mcontext.gregs[REG_UESP]) { in WriteMinidump() 647 context.context.uc_mcontext.gregs[REG_UESP] = in WriteMinidump() 648 context.context.uc_mcontext.gregs[REG_EBP] - 16; in WriteMinidump() 651 context.context.uc_mcontext.gregs[REG_ESP] = in WriteMinidump() 652 context.context.uc_mcontext.gregs[REG_UESP]; in WriteMinidump() 668 reinterpret_cast<void*>(context.context.uc_mcontext.gregs[REG_EIP]); in WriteMinidump() 671 reinterpret_cast<void*>(context.context.uc_mcontext.gregs[REG_RIP]); in WriteMinidump()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 959 *pc = ucontext->uc_mcontext.gregs[REG_RIP]; in GetPcSpBp() 960 *bp = ucontext->uc_mcontext.gregs[REG_RBP]; in GetPcSpBp() 961 *sp = ucontext->uc_mcontext.gregs[REG_RSP]; in GetPcSpBp() 971 *pc = ucontext->uc_mcontext.gregs[REG_EIP]; in GetPcSpBp() 972 *bp = ucontext->uc_mcontext.gregs[REG_EBP]; in GetPcSpBp() 973 *sp = ucontext->uc_mcontext.gregs[REG_ESP]; in GetPcSpBp() 991 *pc = ucontext->uc_mcontext.gregs[REG_PC]; in GetPcSpBp() 992 *sp = ucontext->uc_mcontext.gregs[REG_O6]; in GetPcSpBp() 998 *pc = ucontext->uc_mcontext.gregs[31]; in GetPcSpBp() 999 *bp = ucontext->uc_mcontext.gregs[30]; in GetPcSpBp() [all …]
|
/external/libunwind/src/mips/ |
D | gen-offsets.c | 27 UC ("MCONTEXT_GREGS", uc_mcontext.gregs); in main()
|
/external/valgrind/memcheck/tests/amd64-linux/ |
D | int3-amd64.c | 16 void *pc = (void*)mc->gregs[REG_RIP]; in int_handler()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | int3-x86.c | 16 void *pc = (void*)mc->gregs[REG_EIP]; in int_handler()
|
/external/libunwind/tests/ |
D | test-coredump-unwind.c | 215 ip = uc->uc_mcontext.gregs[REG_EIP]; in handle_sigsegv() 217 ip = uc->uc_mcontext.gregs[REG_RIP]; in handle_sigsegv()
|
D | Gtest-bt.c | 192 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_EIP]); in sighandler() 198 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_RIP]); in sighandler()
|
D | Gtest-trace.c | 204 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_EIP]); in sighandler() 210 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_RIP]); in sighandler()
|