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

Go to the source code of this file.

Macros

#define PT_PSR   0
 
#define PT_ISR   1
 
#define PT_CCR   2
 
#define PT_CCCR   3
 
#define PT_LR   4
 
#define PT_LCR   5
 
#define PT_PC   6
 
#define PT__STATUS   7 /* exception status */
 
#define PT_SYSCALLNO   8 /* syscall number or -1 */
 
#define PT_ORIG_GR8   9 /* saved GR8 for signal handling */
 
#define PT_GNER0   10
 
#define PT_GNER1   11
 
#define PT_IACC0H   12
 
#define PT_IACC0L   13
 
#define PT_GR(j)   ( 14 + (j)) /* GRj for 0<=j<=63 */
 
#define PT_FR(j)   ( 78 + (j)) /* FRj for 0<=j<=63 */
 
#define PT_FNER(j)   (142 + (j)) /* FNERj for 0<=j<=1 */
 
#define PT_MSR(j)   (144 + (j)) /* MSRj for 0<=j<=2 */
 
#define PT_ACC(j)   (146 + (j)) /* ACCj for 0<=j<=7 */
 
#define PT_ACCG(jklm)   (154 + (jklm)) /* ACCGjklm for 0<=jklm<=1 (reads four regs per slot) */
 
#define PT_FSR(j)   (156 + (j)) /* FSRj for 0<=j<=0 */
 
#define PT__GPEND   78
 
#define PT__END   157
 
#define PT_TBR   PT_GR(0)
 
#define PT_SP   PT_GR(1)
 
#define PT_FP   PT_GR(2)
 
#define PT_PREV_FRAME   PT_GR(28) /* previous exception frame pointer (old gr28 value) */
 
#define PT_CURR_TASK   PT_GR(29) /* current task */
 
#define PTRACE_GETREGS   12
 
#define PTRACE_SETREGS   13
 
#define PTRACE_GETFPREGS   14
 
#define PTRACE_SETFPREGS   15
 
#define PTRACE_GETFDPIC   31 /* get the ELF fdpic loadmap address */
 
#define PTRACE_GETFDPIC_EXEC   0 /* [addr] request the executable loadmap */
 
#define PTRACE_GETFDPIC_INTERP   1 /* [addr] request the interpreter loadmap */
 

Macro Definition Documentation

#define PT__END   157

Definition at line 41 of file ptrace.h.

#define PT__GPEND   78

Definition at line 40 of file ptrace.h.

#define PT__STATUS   7 /* exception status */

Definition at line 25 of file ptrace.h.

#define PT_ACC (   j)    (146 + (j)) /* ACCj for 0<=j<=7 */

Definition at line 37 of file ptrace.h.

#define PT_ACCG (   jklm)    (154 + (jklm)) /* ACCGjklm for 0<=jklm<=1 (reads four regs per slot) */

Definition at line 38 of file ptrace.h.

#define PT_CCCR   3

Definition at line 20 of file ptrace.h.

#define PT_CCR   2

Definition at line 19 of file ptrace.h.

#define PT_CURR_TASK   PT_GR(29) /* current task */

Definition at line 47 of file ptrace.h.

#define PT_FNER (   j)    (142 + (j)) /* FNERj for 0<=j<=1 */

Definition at line 35 of file ptrace.h.

#define PT_FP   PT_GR(2)

Definition at line 45 of file ptrace.h.

#define PT_FR (   j)    ( 78 + (j)) /* FRj for 0<=j<=63 */

Definition at line 34 of file ptrace.h.

#define PT_FSR (   j)    (156 + (j)) /* FSRj for 0<=j<=0 */

Definition at line 39 of file ptrace.h.

#define PT_GNER0   10

Definition at line 28 of file ptrace.h.

#define PT_GNER1   11

Definition at line 29 of file ptrace.h.

#define PT_GR (   j)    ( 14 + (j)) /* GRj for 0<=j<=63 */

Definition at line 33 of file ptrace.h.

#define PT_IACC0H   12

Definition at line 30 of file ptrace.h.

#define PT_IACC0L   13

Definition at line 31 of file ptrace.h.

#define PT_ISR   1

Definition at line 18 of file ptrace.h.

#define PT_LCR   5

Definition at line 22 of file ptrace.h.

#define PT_LR   4

Definition at line 21 of file ptrace.h.

#define PT_MSR (   j)    (144 + (j)) /* MSRj for 0<=j<=2 */

Definition at line 36 of file ptrace.h.

#define PT_ORIG_GR8   9 /* saved GR8 for signal handling */

Definition at line 27 of file ptrace.h.

#define PT_PC   6

Definition at line 23 of file ptrace.h.

#define PT_PREV_FRAME   PT_GR(28) /* previous exception frame pointer (old gr28 value) */

Definition at line 46 of file ptrace.h.

#define PT_PSR   0

Definition at line 17 of file ptrace.h.

#define PT_SP   PT_GR(1)

Definition at line 44 of file ptrace.h.

#define PT_SYSCALLNO   8 /* syscall number or -1 */

Definition at line 26 of file ptrace.h.

#define PT_TBR   PT_GR(0)

Definition at line 43 of file ptrace.h.

#define PTRACE_GETFDPIC   31 /* get the ELF fdpic loadmap address */

Definition at line 55 of file ptrace.h.

#define PTRACE_GETFDPIC_EXEC   0 /* [addr] request the executable loadmap */

Definition at line 57 of file ptrace.h.

#define PTRACE_GETFDPIC_INTERP   1 /* [addr] request the interpreter loadmap */

Definition at line 58 of file ptrace.h.

#define PTRACE_GETFPREGS   14

Definition at line 53 of file ptrace.h.

#define PTRACE_GETREGS   12

Definition at line 51 of file ptrace.h.

#define PTRACE_SETFPREGS   15

Definition at line 54 of file ptrace.h.

#define PTRACE_SETREGS   13

Definition at line 52 of file ptrace.h.