Go to the documentation of this file.
10 #ifndef __ARM_KGDB_H__
11 #define __ARM_KGDB_H__
13 #include <linux/ptrace.h>
34 #define BREAK_INSTR_SIZE 4
35 #define GDB_BREAKINST 0xef9f0001
36 #define KGDB_BREAKINST 0xe7ffdefe
37 #define KGDB_COMPILED_BREAK 0xe7ffdeff
38 #define CACHE_FLUSH_IS_SAFE 1
42 static inline void arch_kgdb_breakpoint(
void)
44 asm(
".word 0xe7ffdeff");
73 #define GDB_MAX_REGS (_GP_REGS + (_FP_REGS * 3) + _EXTRA_REGS)
74 #define DBG_MAX_REG_NUM (_GP_REGS + _FP_REGS + _EXTRA_REGS)
76 #define KGDB_MAX_NO_CPUS 1
78 #define NUMREGBYTES (DBG_MAX_REG_NUM << 2)
79 #define NUMCRITREGBYTES (32 << 2)
97 #define _CPSR (GDB_MAX_REGS - 1)
103 #define CFI_END_FRAME(func) __CFI_END_FRAME(_PC, _SPT, func)