Searched refs:user_regs (Results 1 – 13 of 13) sorted by relevance
/external/elfutils/backends/ |
D | i386_initreg.c | 50 struct user_regs_struct user_regs; in i386_set_initial_registers_tid() 51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in i386_set_initial_registers_tid() 55 dwarf_regs[0] = user_regs.eax; in i386_set_initial_registers_tid() 56 dwarf_regs[1] = user_regs.ecx; in i386_set_initial_registers_tid() 57 dwarf_regs[2] = user_regs.edx; in i386_set_initial_registers_tid() 58 dwarf_regs[3] = user_regs.ebx; in i386_set_initial_registers_tid() 59 dwarf_regs[4] = user_regs.esp; in i386_set_initial_registers_tid() 60 dwarf_regs[5] = user_regs.ebp; in i386_set_initial_registers_tid() 61 dwarf_regs[6] = user_regs.esi; in i386_set_initial_registers_tid() 62 dwarf_regs[7] = user_regs.edi; in i386_set_initial_registers_tid() [all …]
|
D | x86_64_initreg.c | 50 struct user_regs_struct user_regs; in x86_64_set_initial_registers_tid() 51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in x86_64_set_initial_registers_tid() 54 dwarf_regs[0] = user_regs.rax; in x86_64_set_initial_registers_tid() 55 dwarf_regs[1] = user_regs.rdx; in x86_64_set_initial_registers_tid() 56 dwarf_regs[2] = user_regs.rcx; in x86_64_set_initial_registers_tid() 57 dwarf_regs[3] = user_regs.rbx; in x86_64_set_initial_registers_tid() 58 dwarf_regs[4] = user_regs.rsi; in x86_64_set_initial_registers_tid() 59 dwarf_regs[5] = user_regs.rdi; in x86_64_set_initial_registers_tid() 60 dwarf_regs[6] = user_regs.rbp; in x86_64_set_initial_registers_tid() 61 dwarf_regs[7] = user_regs.rsp; in x86_64_set_initial_registers_tid() [all …]
|
D | ppc_initreg.c | 81 user_regs; in ppc_set_initial_registers_tid() 85 for (unsigned regno = 0; regno < sizeof (user_regs) / sizeof (long); in ppc_set_initial_registers_tid() 88 user_regs.l[regno] = ptrace (PTRACE_PEEKUSER, tid, in ppc_set_initial_registers_tid() 95 const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr); in ppc_set_initial_registers_tid() 98 dwarf_regs[gpr] = user_regs.r.gpr[gpr]; in ppc_set_initial_registers_tid() 101 dwarf_regs[0] = user_regs.r.link; in ppc_set_initial_registers_tid() 107 dwarf_regs[0] = user_regs.r.nip; in ppc_set_initial_registers_tid()
|
D | s390_initreg.c | 52 struct user user_regs; in s390_set_initial_registers_tid() 54 parea.process_addr = (uintptr_t) &user_regs; in s390_set_initial_registers_tid() 56 parea.len = sizeof (user_regs); in s390_set_initial_registers_tid() 64 dwarf_regs[u] = user_regs.regs.gprs[u]; in s390_set_initial_registers_tid() 68 eu_static_assert (sizeof user_regs.regs.fp_regs.fprs[0] in s390_set_initial_registers_tid() 77 } fpr = { .d = user_regs.regs.fp_regs.fprs[u] }; in s390_set_initial_registers_tid() 83 dwarf_regs[0] = user_regs.regs.psw.addr; in s390_set_initial_registers_tid()
|
D | arm_initreg.c | 61 struct user_regs user_regs; in arm_set_initial_registers_tid() 62 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in arm_set_initial_registers_tid() 68 dwarf_regs[i] = user_regs.uregs[i]; in arm_set_initial_registers_tid()
|
/external/elfutils/tests/ |
D | backtrace-data.c | 174 struct user_regs_struct user_regs; in set_initial_registers() local 175 long l = ptrace (PTRACE_GETREGS, child, NULL, &user_regs); in set_initial_registers() 180 dwarf_regs[0] = user_regs.rax; in set_initial_registers() 181 dwarf_regs[1] = user_regs.rdx; in set_initial_registers() 182 dwarf_regs[2] = user_regs.rcx; in set_initial_registers() 183 dwarf_regs[3] = user_regs.rbx; in set_initial_registers() 184 dwarf_regs[4] = user_regs.rsi; in set_initial_registers() 185 dwarf_regs[5] = user_regs.rdi; in set_initial_registers() 186 dwarf_regs[6] = user_regs.rbp; in set_initial_registers() 187 dwarf_regs[7] = user_regs.rsp; in set_initial_registers() [all …]
|
D | backtrace.c | 265 struct user_regs_struct user_regs; in prepare_thread() 267 l = ptrace (PTRACE_GETREGS, pid2, 0, (intptr_t) &user_regs); in prepare_thread() 270 user_regs.rip = (intptr_t) jmp; in prepare_thread() 271 l = ptrace (PTRACE_SETREGS, pid2, 0, (intptr_t) &user_regs); in prepare_thread()
|
/external/google-breakpad/src/client/linux/dump_writer_common/ |
D | thread_info.h | 65 struct user_regs regs;
|
/external/google-breakpad/src/common/android/include/sys/ |
D | procfs.h | 55 #define ELF_NGREG (sizeof(struct user_regs) / sizeof(elf_greg_t))
|
/external/valgrind/include/vki/ |
D | vki-xen-x86.h | 124 struct vki_xen_cpu_user_regs user_regs; /* User-level CPU registers */ member
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stoptheworld_linux_libcdep.cc | 453 typedef user_regs regs_struct;
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | seccomp_macros.h | 161 typedef user_regs regs_struct;
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 83 typedef user_regs user_regs_struct;
|