GDBserver
Loading...
Searching...
No Matches
Macros
gdb_ptrace.h File Reference

Go to the source code of this file.

Macros

#define PT_TRACE_ME   0
 
#define PT_READ_I   1 /* Read word in child's I space. */
 
#define PT_READ_D   2 /* Read word in child's D space. */
 
#define PT_READ_U   3 /* Read word in child's U space. */
 
#define PT_WRITE_I   4 /* Write word in child's I space. */
 
#define PT_WRITE_D   5 /* Write word in child's D space. */
 
#define PT_WRITE_U   6 /* Write word in child's U space. */
 
#define PT_CONTINUE   7 /* Continue the child. */
 
#define PT_KILL   8 /* Kill the child process. */
 
#define PT_STEP   9 /* Single step the child. */
 
#define PT_SYSCALL   PT_CONTINUE
 
#define ptrace(request, pid, addr, data)    ptrace ((PTRACE_TYPE_ARG1) request, pid, addr, data)
 

Macro Definition Documentation

◆ PT_CONTINUE

#define PT_CONTINUE   7 /* Continue the child. */

Definition at line 79 of file gdb_ptrace.h.

◆ PT_KILL

#define PT_KILL   8 /* Kill the child process. */

Definition at line 84 of file gdb_ptrace.h.

◆ PT_READ_D

#define PT_READ_D   2 /* Read word in child's D space. */

Definition at line 51 of file gdb_ptrace.h.

◆ PT_READ_I

#define PT_READ_I   1 /* Read word in child's I space. */

Definition at line 47 of file gdb_ptrace.h.

◆ PT_READ_U

#define PT_READ_U   3 /* Read word in child's U space. */

Definition at line 55 of file gdb_ptrace.h.

◆ PT_STEP

#define PT_STEP   9 /* Single step the child. */

Definition at line 91 of file gdb_ptrace.h.

◆ PT_SYSCALL

#define PT_SYSCALL   PT_CONTINUE

Definition at line 120 of file gdb_ptrace.h.

◆ PT_TRACE_ME

#define PT_TRACE_ME   0

Definition at line 43 of file gdb_ptrace.h.

◆ PT_WRITE_D

#define PT_WRITE_D   5 /* Write word in child's D space. */

Definition at line 63 of file gdb_ptrace.h.

◆ PT_WRITE_I

#define PT_WRITE_I   4 /* Write word in child's I space. */

Definition at line 59 of file gdb_ptrace.h.

◆ PT_WRITE_U

#define PT_WRITE_U   6 /* Write word in child's U space. */

Definition at line 67 of file gdb_ptrace.h.

◆ ptrace

#define ptrace ( request,
pid,
addr,
data )    ptrace ((PTRACE_TYPE_ARG1) request, pid, addr, data)