1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_ASM_X86_PTRACE_H 8 #define _UAPI_ASM_X86_PTRACE_H 9 #include <linux/compiler.h> 10 #include <asm/ptrace-abi.h> 11 #include <asm/processor-flags.h> 12 #ifndef __ASSEMBLY__ 13 #ifdef __i386__ 14 struct pt_regs { 15 long ebx; 16 long ecx; 17 long edx; 18 long esi; 19 long edi; 20 long ebp; 21 long eax; 22 int xds; 23 int xes; 24 int xfs; 25 int xgs; 26 long orig_eax; 27 long eip; 28 int xcs; 29 long eflags; 30 long esp; 31 int xss; 32 }; 33 #else 34 struct pt_regs { 35 unsigned long r15; 36 unsigned long r14; 37 unsigned long r13; 38 unsigned long r12; 39 unsigned long rbp; 40 unsigned long rbx; 41 unsigned long r11; 42 unsigned long r10; 43 unsigned long r9; 44 unsigned long r8; 45 unsigned long rax; 46 unsigned long rcx; 47 unsigned long rdx; 48 unsigned long rsi; 49 unsigned long rdi; 50 unsigned long orig_rax; 51 unsigned long rip; 52 unsigned long cs; 53 unsigned long eflags; 54 unsigned long rsp; 55 unsigned long ss; 56 }; 57 #endif 58 #endif 59 #endif 60