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

Go to the source code of this file.

Macros

#define BREAK_INSTR_SIZE   4
 
#define GDB_BREAKINST   0xef9f0001
 
#define KGDB_BREAKINST   0xe7ffdefe
 
#define KGDB_COMPILED_BREAK   0xe7ffdeff
 
#define CACHE_FLUSH_IS_SAFE   1
 
#define _GP_REGS   16
 
#define _FP_REGS   8
 
#define _EXTRA_REGS   2
 
#define GDB_MAX_REGS   (_GP_REGS + (_FP_REGS * 3) + _EXTRA_REGS)
 
#define DBG_MAX_REG_NUM   (_GP_REGS + _FP_REGS + _EXTRA_REGS)
 
#define KGDB_MAX_NO_CPUS   1
 
#define BUFMAX   400
 
#define NUMREGBYTES   (DBG_MAX_REG_NUM << 2)
 
#define NUMCRITREGBYTES   (32 << 2)
 
#define _R0   0
 
#define _R1   1
 
#define _R2   2
 
#define _R3   3
 
#define _R4   4
 
#define _R5   5
 
#define _R6   6
 
#define _R7   7
 
#define _R8   8
 
#define _R9   9
 
#define _R10   10
 
#define _FP   11
 
#define _IP   12
 
#define _SPT   13
 
#define _LR   14
 
#define _PC   15
 
#define _CPSR   (GDB_MAX_REGS - 1)
 
#define CFI_END_FRAME(func)   __CFI_END_FRAME(_PC, _SPT, func)
 

Functions

void kgdb_handle_bus_error (void)
 

Variables

int kgdb_fault_expected
 

Macro Definition Documentation

#define _CPSR   (GDB_MAX_REGS - 1)

Definition at line 97 of file kgdb.h.

#define _EXTRA_REGS   2

Definition at line 72 of file kgdb.h.

#define _FP   11

Definition at line 92 of file kgdb.h.

#define _FP_REGS   8

Definition at line 71 of file kgdb.h.

#define _GP_REGS   16

Definition at line 70 of file kgdb.h.

#define _IP   12

Definition at line 93 of file kgdb.h.

#define _LR   14

Definition at line 95 of file kgdb.h.

#define _PC   15

Definition at line 96 of file kgdb.h.

#define _R0   0

Definition at line 81 of file kgdb.h.

#define _R1   1

Definition at line 82 of file kgdb.h.

#define _R10   10

Definition at line 91 of file kgdb.h.

#define _R2   2

Definition at line 83 of file kgdb.h.

#define _R3   3

Definition at line 84 of file kgdb.h.

#define _R4   4

Definition at line 85 of file kgdb.h.

#define _R5   5

Definition at line 86 of file kgdb.h.

#define _R6   6

Definition at line 87 of file kgdb.h.

#define _R7   7

Definition at line 88 of file kgdb.h.

#define _R8   8

Definition at line 89 of file kgdb.h.

#define _R9   9

Definition at line 90 of file kgdb.h.

#define _SPT   13

Definition at line 94 of file kgdb.h.

#define BREAK_INSTR_SIZE   4

Definition at line 34 of file kgdb.h.

#define BUFMAX   400

Definition at line 77 of file kgdb.h.

#define CACHE_FLUSH_IS_SAFE   1

Definition at line 38 of file kgdb.h.

#define CFI_END_FRAME (   func)    __CFI_END_FRAME(_PC, _SPT, func)

Definition at line 103 of file kgdb.h.

#define DBG_MAX_REG_NUM   (_GP_REGS + _FP_REGS + _EXTRA_REGS)

Definition at line 74 of file kgdb.h.

#define GDB_BREAKINST   0xef9f0001

Definition at line 35 of file kgdb.h.

#define GDB_MAX_REGS   (_GP_REGS + (_FP_REGS * 3) + _EXTRA_REGS)

Definition at line 73 of file kgdb.h.

#define KGDB_BREAKINST   0xe7ffdefe

Definition at line 36 of file kgdb.h.

#define KGDB_COMPILED_BREAK   0xe7ffdeff

Definition at line 37 of file kgdb.h.

#define KGDB_MAX_NO_CPUS   1

Definition at line 76 of file kgdb.h.

#define NUMCRITREGBYTES   (32 << 2)

Definition at line 79 of file kgdb.h.

#define NUMREGBYTES   (DBG_MAX_REG_NUM << 2)

Definition at line 78 of file kgdb.h.

Function Documentation

void kgdb_handle_bus_error ( void  )

Variable Documentation

int kgdb_fault_expected