perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / arch / x86 / um / shared / sysdep / ptrace_32.h
blobb94a108de1dc894e77c9e49310e4d0a12d177ce8
1 /*
2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #ifndef __SYSDEP_I386_PTRACE_H
7 #define __SYSDEP_I386_PTRACE_H
9 #define MAX_FP_NR HOST_FPX_SIZE
11 static inline void update_debugregs(int seq) {}
13 /* syscall emulation path in ptrace */
15 #ifndef PTRACE_SYSEMU
16 #define PTRACE_SYSEMU 31
17 #endif
19 void set_using_sysemu(int value);
20 int get_using_sysemu(void);
21 extern int sysemu_supported;
23 #ifndef PTRACE_SYSEMU_SINGLESTEP
24 #define PTRACE_SYSEMU_SINGLESTEP 32
25 #endif
27 #define UPT_SYSCALL_ARG1(r) UPT_BX(r)
28 #define UPT_SYSCALL_ARG2(r) UPT_CX(r)
29 #define UPT_SYSCALL_ARG3(r) UPT_DX(r)
30 #define UPT_SYSCALL_ARG4(r) UPT_SI(r)
31 #define UPT_SYSCALL_ARG5(r) UPT_DI(r)
32 #define UPT_SYSCALL_ARG6(r) UPT_BP(r)
34 extern void arch_init_registers(int pid);
36 #endif