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

Go to the source code of this file.

Macros

#define _GP_REGS   16
 
#define _EXTRA_REGS   7
 
#define GDB_SIZEOF_REG   sizeof(u32)
 
#define DBG_MAX_REG_NUM   (_GP_REGS + _EXTRA_REGS)
 
#define NUMREGBYTES   (DBG_MAX_REG_NUM * sizeof(GDB_SIZEOF_REG))
 
#define BREAK_INSTR_SIZE   2
 
#define BUFMAX   2048
 
#define CACHE_FLUSH_IS_SAFE   1
 
#define GDB_ADJUSTS_BREAK_OFFSET
 

Enumerations

enum  regnames {
  BFIN_R0 = 0, BFIN_R1, BFIN_R2, BFIN_R3,
  BFIN_R4, BFIN_R5, BFIN_R6, BFIN_R7,
  BFIN_P0, BFIN_P1, BFIN_P2, BFIN_P3,
  BFIN_P4, BFIN_P5, BFIN_SP, BFIN_FP,
  BFIN_I0, BFIN_I1, BFIN_I2, BFIN_I3,
  BFIN_M0, BFIN_M1, BFIN_M2, BFIN_M3,
  BFIN_B0, BFIN_B1, BFIN_B2, BFIN_B3,
  BFIN_L0, BFIN_L1, BFIN_L2, BFIN_L3,
  BFIN_A0_DOT_X, BFIN_A0_DOT_W, BFIN_A1_DOT_X, BFIN_A1_DOT_W,
  BFIN_ASTAT, BFIN_RETS, BFIN_LC0, BFIN_LT0,
  BFIN_LB0, BFIN_LC1, BFIN_LT1, BFIN_LB1,
  BFIN_CYCLES, BFIN_CYCLES2, BFIN_USP, BFIN_SEQSTAT,
  BFIN_SYSCFG, BFIN_RETI, BFIN_RETX, BFIN_RETN,
  BFIN_RETE, BFIN_PC, BFIN_CC, BFIN_EXTRA1,
  BFIN_EXTRA2, BFIN_EXTRA3, BFIN_FDPIC_EXEC, BFIN_FDPIC_INTERP,
  BFIN_IPEND, BFIN_NUM_REGS, GDB_FR_D0 = 0, GDB_FR_D1 = 1,
  GDB_FR_D2 = 2, GDB_FR_D3 = 3, GDB_FR_A0 = 4, GDB_FR_A1 = 5,
  GDB_FR_A2 = 6, GDB_FR_A3 = 7, GDB_FR_SP = 8, GDB_FR_PC = 9,
  GDB_FR_MDR = 10, GDB_FR_EPSW = 11, GDB_FR_LIR = 12, GDB_FR_LAR = 13,
  GDB_FR_MDRQ = 14, GDB_FR_E0 = 15, GDB_FR_E1 = 16, GDB_FR_E2 = 17,
  GDB_FR_E3 = 18, GDB_FR_E4 = 19, GDB_FR_E5 = 20, GDB_FR_E6 = 21,
  GDB_FR_E7 = 22, GDB_FR_SSP = 23, GDB_FR_MSP = 24, GDB_FR_USP = 25,
  GDB_FR_MCRH = 26, GDB_FR_MCRL = 27, GDB_FR_MCVF = 28, GDB_FR_FPCR = 29,
  GDB_FR_DUMMY0 = 30, GDB_FR_DUMMY1 = 31, GDB_FR_FS0 = 32, GDB_FR_SIZE = 64,
  GDB_R0, GDB_R1, GDB_R2, GDB_R3,
  GDB_R4, GDB_R5, GDB_R6, GDB_R7,
  GDB_R8, GDB_R9, GDB_R10, GDB_R11,
  GDB_R12, GDB_R13, GDB_R14, GDB_R15,
  GDB_PC, GDB_PR, GDB_SR, GDB_GBR,
  GDB_MACH, GDB_MACL, GDB_VBR, GDB_G0,
  GDB_G1, GDB_G2, GDB_G3, GDB_G4,
  GDB_G5, GDB_G6, GDB_G7, GDB_O0,
  GDB_O1, GDB_O2, GDB_O3, GDB_O4,
  GDB_O5, GDB_SP, GDB_O7, GDB_L0,
  GDB_L1, GDB_L2, GDB_L3, GDB_L4,
  GDB_L5, GDB_L6, GDB_L7, GDB_I0,
  GDB_I1, GDB_I2, GDB_I3, GDB_I4,
  GDB_I5, GDB_FP, GDB_I7, GDB_F0,
  GDB_F31 = GDB_F0 + 31, GDB_F32 = GDB_F0 + 32, GDB_F62 = GDB_F32 + 15, GDB_PC,
  GDB_NPC, GDB_STATE, GDB_FSR, GDB_FPRS,
  GDB_Y, GDB_AX, GDB_BX, GDB_CX,
  GDB_DX, GDB_SI, GDB_DI, GDB_BP,
  GDB_SP, GDB_R8, GDB_R9, GDB_R10,
  GDB_R11, GDB_R12, GDB_R13, GDB_R14,
  GDB_R15, GDB_PC, GDB_PS, GDB_CS,
  GDB_SS, GDB_DS, GDB_ES, GDB_FS,
  GDB_GS
}
 

Macro Definition Documentation

#define _EXTRA_REGS   7

Definition at line 15 of file kgdb.h.

#define _GP_REGS   16

Definition at line 14 of file kgdb.h.

#define BREAK_INSTR_SIZE   2

Definition at line 26 of file kgdb.h.

#define BUFMAX   2048

Definition at line 27 of file kgdb.h.

#define CACHE_FLUSH_IS_SAFE   1

Definition at line 32 of file kgdb.h.

#define DBG_MAX_REG_NUM   (_GP_REGS + _EXTRA_REGS)

Definition at line 18 of file kgdb.h.

#define GDB_ADJUSTS_BREAK_OFFSET

Definition at line 35 of file kgdb.h.

#define GDB_SIZEOF_REG   sizeof(u32)

Definition at line 16 of file kgdb.h.

#define NUMREGBYTES   (DBG_MAX_REG_NUM * sizeof(GDB_SIZEOF_REG))

Definition at line 19 of file kgdb.h.

Enumeration Type Documentation

enum regnames
Enumerator:
BFIN_R0 
BFIN_R1 
BFIN_R2 
BFIN_R3 
BFIN_R4 
BFIN_R5 
BFIN_R6 
BFIN_R7 
BFIN_P0 
BFIN_P1 
BFIN_P2 
BFIN_P3 
BFIN_P4 
BFIN_P5 
BFIN_SP 
BFIN_FP 
BFIN_I0 
BFIN_I1 
BFIN_I2 
BFIN_I3 
BFIN_M0 
BFIN_M1 
BFIN_M2 
BFIN_M3 
BFIN_B0 
BFIN_B1 
BFIN_B2 
BFIN_B3 
BFIN_L0 
BFIN_L1 
BFIN_L2 
BFIN_L3 
BFIN_A0_DOT_X 
BFIN_A0_DOT_W 
BFIN_A1_DOT_X 
BFIN_A1_DOT_W 
BFIN_ASTAT 
BFIN_RETS 
BFIN_LC0 
BFIN_LT0 
BFIN_LB0 
BFIN_LC1 
BFIN_LT1 
BFIN_LB1 
BFIN_CYCLES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