Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ptrace.h File Reference

Go to the source code of this file.

Data Structures

struct  pt_regs
 

Macros

#define BKPT_OPCODE   0x56454314 /* illegal opcode */
 
#define PT_LO(odd, even)   even
 
#define PT_HI(odd, even)   odd
 
#define PT_A4_ORG   PT_LO(1, 0)
 
#define PT_TSR   PT_HI(1, 0)
 
#define PT_ILC   PT_LO(3, 2)
 
#define PT_RILC   PT_HI(3, 2)
 
#define PT_CSR   PT_LO(5, 4)
 
#define PT_PC   PT_HI(5, 4)
 
#define PT_B16   PT_LO(7, 6)
 
#define PT_B17   PT_HI(7, 6)
 
#define PT_B18   PT_LO(9, 8)
 
#define PT_B19   PT_HI(9, 8)
 
#define PT_B20   PT_LO(11, 10)
 
#define PT_B21   PT_HI(11, 10)
 
#define PT_B22   PT_LO(13, 12)
 
#define PT_B23   PT_HI(13, 12)
 
#define PT_B24   PT_LO(15, 14)
 
#define PT_B25   PT_HI(15, 14)
 
#define PT_B26   PT_LO(17, 16)
 
#define PT_B27   PT_HI(17, 16)
 
#define PT_B28   PT_LO(19, 18)
 
#define PT_B29   PT_HI(19, 18)
 
#define PT_B30   PT_LO(21, 20)
 
#define PT_B31   PT_HI(21, 20)
 
#define PT_B0   PT_LO(23, 22)
 
#define PT_B1   PT_HI(23, 22)
 
#define PT_B2   PT_LO(25, 24)
 
#define PT_B3   PT_HI(25, 24)
 
#define PT_B4   PT_LO(27, 26)
 
#define PT_B5   PT_HI(27, 26)
 
#define PT_B6   PT_LO(29, 28)
 
#define PT_B7   PT_HI(29, 28)
 
#define PT_B8   PT_LO(31, 30)
 
#define PT_B9   PT_HI(31, 30)
 
#define PT_B10   PT_LO(33, 32)
 
#define PT_B11   PT_HI(33, 32)
 
#define PT_B12   PT_LO(35, 34)
 
#define PT_B13   PT_HI(35, 34)
 
#define PT_A16   PT_LO(37, 36)
 
#define PT_A17   PT_HI(37, 36)
 
#define PT_A18   PT_LO(39, 38)
 
#define PT_A19   PT_HI(39, 38)
 
#define PT_A20   PT_LO(41, 40)
 
#define PT_A21   PT_HI(41, 40)
 
#define PT_A22   PT_LO(43, 42)
 
#define PT_A23   PT_HI(43, 42)
 
#define PT_A24   PT_LO(45, 44)
 
#define PT_A25   PT_HI(45, 44)
 
#define PT_A26   PT_LO(47, 46)
 
#define PT_A27   PT_HI(47, 46)
 
#define PT_A28   PT_LO(49, 48)
 
#define PT_A29   PT_HI(49, 48)
 
#define PT_A30   PT_LO(51, 50)
 
#define PT_A31   PT_HI(51, 50)
 
#define PT_A0   PT_LO(53, 52)
 
#define PT_A1   PT_HI(53, 52)
 
#define PT_A2   PT_LO(55, 54)
 
#define PT_A3   PT_HI(55, 54)
 
#define PT_A4   PT_LO(57, 56)
 
#define PT_A5   PT_HI(57, 56)
 
#define PT_A6   PT_LO(59, 58)
 
#define PT_A7   PT_HI(59, 58)
 
#define PT_A8   PT_LO(61, 60)
 
#define PT_A9   PT_HI(61, 60)
 
#define PT_A10   PT_LO(63, 62)
 
#define PT_A11   PT_HI(63, 62)
 
#define PT_A12   PT_LO(65, 64)
 
#define PT_A13   PT_HI(65, 64)
 
#define PT_A14   PT_LO(67, 66)
 
#define PT_A15   PT_HI(67, 66)
 
#define PT_B14   PT_LO(69, 68)
 
#define PT_B15   PT_HI(69, 68)
 
#define NR_PTREGS   70
 
#define PT_DP   PT_B14 /* Data Segment Pointer (B14) */
 
#define PT_SP   PT_B15 /* Stack Pointer (B15) */
 
#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 */
 
#define REG_PAIR(odd, even)   unsigned long even; unsigned long odd
 

Macro Definition Documentation

#define BKPT_OPCODE   0x56454314 /* illegal opcode */

Definition at line 14 of file ptrace.h.

#define NR_PTREGS   70

Definition at line 95 of file ptrace.h.

#define PT_A0   PT_LO(53, 52)

Definition at line 76 of file ptrace.h.

#define PT_A1   PT_HI(53, 52)

Definition at line 77 of file ptrace.h.

#define PT_A10   PT_LO(63, 62)

Definition at line 86 of file ptrace.h.

#define PT_A11   PT_HI(63, 62)

Definition at line 87 of file ptrace.h.

#define PT_A12   PT_LO(65, 64)

Definition at line 88 of file ptrace.h.

#define PT_A13   PT_HI(65, 64)

Definition at line 89 of file ptrace.h.

#define PT_A14   PT_LO(67, 66)

Definition at line 90 of file ptrace.h.

#define PT_A15   PT_HI(67, 66)

Definition at line 91 of file ptrace.h.

#define PT_A16   PT_LO(37, 36)

Definition at line 60 of file ptrace.h.

#define PT_A17   PT_HI(37, 36)

Definition at line 61 of file ptrace.h.

#define PT_A18   PT_LO(39, 38)

Definition at line 62 of file ptrace.h.

#define PT_A19   PT_HI(39, 38)

Definition at line 63 of file ptrace.h.

#define PT_A2   PT_LO(55, 54)

Definition at line 78 of file ptrace.h.

#define PT_A20   PT_LO(41, 40)

Definition at line 64 of file ptrace.h.

#define PT_A21   PT_HI(41, 40)

Definition at line 65 of file ptrace.h.

#define PT_A22   PT_LO(43, 42)

Definition at line 66 of file ptrace.h.

#define PT_A23   PT_HI(43, 42)

Definition at line 67 of file ptrace.h.

#define PT_A24   PT_LO(45, 44)

Definition at line 68 of file ptrace.h.

#define PT_A25   PT_HI(45, 44)

Definition at line 69 of file ptrace.h.

#define PT_A26   PT_LO(47, 46)

Definition at line 70 of file ptrace.h.

#define PT_A27   PT_HI(47, 46)

Definition at line 71 of file ptrace.h.

#define PT_A28   PT_LO(49, 48)

Definition at line 72 of file ptrace.h.

#define PT_A29   PT_HI(49, 48)

Definition at line 73 of file ptrace.h.

#define PT_A3   PT_HI(55, 54)

Definition at line 79 of file ptrace.h.

#define PT_A30   PT_LO(51, 50)

Definition at line 74 of file ptrace.h.

#define PT_A31   PT_HI(51, 50)

Definition at line 75 of file ptrace.h.

#define PT_A4   PT_LO(57, 56)

Definition at line 80 of file ptrace.h.

#define PT_A4_ORG   PT_LO(1, 0)

Definition at line 24 of file ptrace.h.

#define PT_A5   PT_HI(57, 56)

Definition at line 81 of file ptrace.h.

#define PT_A6   PT_LO(59, 58)

Definition at line 82 of file ptrace.h.

#define PT_A7   PT_HI(59, 58)

Definition at line 83 of file ptrace.h.

#define PT_A8   PT_LO(61, 60)

Definition at line 84 of file ptrace.h.

#define PT_A9   PT_HI(61, 60)

Definition at line 85 of file ptrace.h.

#define PT_B0   PT_LO(23, 22)

Definition at line 46 of file ptrace.h.

#define PT_B1   PT_HI(23, 22)

Definition at line 47 of file ptrace.h.

#define PT_B10   PT_LO(33, 32)

Definition at line 56 of file ptrace.h.

#define PT_B11   PT_HI(33, 32)

Definition at line 57 of file ptrace.h.

#define PT_B12   PT_LO(35, 34)

Definition at line 58 of file ptrace.h.

#define PT_B13   PT_HI(35, 34)

Definition at line 59 of file ptrace.h.

#define PT_B14   PT_LO(69, 68)

Definition at line 92 of file ptrace.h.

#define PT_B15   PT_HI(69, 68)

Definition at line 93 of file ptrace.h.

#define PT_B16   PT_LO(7, 6)

Definition at line 30 of file ptrace.h.

#define PT_B17   PT_HI(7, 6)

Definition at line 31 of file ptrace.h.

#define PT_B18   PT_LO(9, 8)

Definition at line 32 of file ptrace.h.

#define PT_B19   PT_HI(9, 8)

Definition at line 33 of file ptrace.h.

#define PT_B2   PT_LO(25, 24)

Definition at line 48 of file ptrace.h.

#define PT_B20   PT_LO(11, 10)

Definition at line 34 of file ptrace.h.

#define PT_B21   PT_HI(11, 10)

Definition at line 35 of file ptrace.h.

#define PT_B22   PT_LO(13, 12)

Definition at line 36 of file ptrace.h.

#define PT_B23   PT_HI(13, 12)

Definition at line 37 of file ptrace.h.

#define PT_B24   PT_LO(15, 14)

Definition at line 38 of file ptrace.h.

#define PT_B25   PT_HI(15, 14)

Definition at line 39 of file ptrace.h.

#define PT_B26   PT_LO(17, 16)

Definition at line 40 of file ptrace.h.

#define PT_B27   PT_HI(17, 16)

Definition at line 41 of file ptrace.h.

#define PT_B28   PT_LO(19, 18)

Definition at line 42 of file ptrace.h.

#define PT_B29   PT_HI(19, 18)

Definition at line 43 of file ptrace.h.

#define PT_B3   PT_HI(25, 24)

Definition at line 49 of file ptrace.h.

#define PT_B30   PT_LO(21, 20)

Definition at line 44 of file ptrace.h.

#define PT_B31   PT_HI(21, 20)

Definition at line 45 of file ptrace.h.

#define PT_B4   PT_LO(27, 26)

Definition at line 50 of file ptrace.h.

#define PT_B5   PT_HI(27, 26)

Definition at line 51 of file ptrace.h.

#define PT_B6   PT_LO(29, 28)

Definition at line 52 of file ptrace.h.

#define PT_B7   PT_HI(29, 28)

Definition at line 53 of file ptrace.h.

#define PT_B8   PT_LO(31, 30)

Definition at line 54 of file ptrace.h.

#define PT_B9   PT_HI(31, 30)

Definition at line 55 of file ptrace.h.

#define PT_CSR   PT_LO(5, 4)

Definition at line 28 of file ptrace.h.

#define PT_DP   PT_B14 /* Data Segment Pointer (B14) */

Definition at line 97 of file ptrace.h.

#define PT_HI (   odd,
  even 
)    odd

Definition at line 21 of file ptrace.h.

#define PT_ILC   PT_LO(3, 2)

Definition at line 26 of file ptrace.h.

#define PT_LO (   odd,
  even 
)    even

Definition at line 20 of file ptrace.h.

#define PT_PC   PT_HI(5, 4)

Definition at line 29 of file ptrace.h.

#define PT_RILC   PT_HI(3, 2)

Definition at line 27 of file ptrace.h.

#define PT_SP   PT_B15 /* Stack Pointer (B15) */

Definition at line 98 of file ptrace.h.

#define PT_TSR   PT_HI(1, 0)

Definition at line 25 of file ptrace.h.

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

Definition at line 100 of file ptrace.h.

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

Definition at line 102 of file ptrace.h.

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

Definition at line 103 of file ptrace.h.

#define REG_PAIR (   odd,
  even 
)    unsigned long even; unsigned long odd

Definition at line 110 of file ptrace.h.