Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ptrace_user.h File Reference
#include <sys/ptrace.h>
#include <sysdep/ptrace_user.h>

Go to the source code of this file.

Macros

#define PTRACE_SYSEMU   31
 
#define PTRACE_SYSEMU_SINGLESTEP   32
 
#define PTRACE_OLDSETOPTIONS   PTRACE_SETOPTIONS
 
#define SELECT_PTRACE_OPERATION(sysemu_mode, singlestep_mode)
 

Functions

int ptrace_getregs (long pid, unsigned long *regs_out)
 
int ptrace_setregs (long pid, unsigned long *regs_in)
 
void set_using_sysemu (int value)
 
int get_using_sysemu (void)
 

Variables

int sysemu_supported
 

Macro Definition Documentation

#define PTRACE_OLDSETOPTIONS   PTRACE_SETOPTIONS

Definition at line 41 of file ptrace_user.h.

#define PTRACE_SYSEMU   31

Definition at line 18 of file ptrace_user.h.

#define PTRACE_SYSEMU_SINGLESTEP   32

Definition at line 21 of file ptrace_user.h.

#define SELECT_PTRACE_OPERATION (   sysemu_mode,
  singlestep_mode 
)
Value:
(((int[3][3] ) { \
PTRACE_SYSEMU_SINGLESTEP } }) \
[sysemu_mode][singlestep_mode])

Definition at line 48 of file ptrace_user.h.

Function Documentation

int get_using_sysemu ( void  )

Definition at line 319 of file process.c.

int ptrace_getregs ( long  pid,
unsigned long regs_out 
)

Definition at line 5 of file ptrace_user.c.

int ptrace_setregs ( long  pid,
unsigned long regs_in 
)

Definition at line 18 of file ptrace_user.c.

void set_using_sysemu ( int  value)

Definition at line 312 of file process.c.

Variable Documentation

int sysemu_supported

Definition at line 310 of file process.c.