7#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_GDBSTUB_H_
8#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_GDBSTUB_H_
14#define DBGDSCR_MONITOR_MODE_EN 0x8000
16#define SPSR_ISETSTATE_ARM 0x0
17#define SPSR_ISETSTATE_JAZELLE 0x2
22#define DBGDBCR_MEANING_MASK 0x7
23#define DBGDBCR_MEANING_SHIFT 20
24#define DBGDBCR_MEANING_ADDR_MISMATCH 0x4
25#define DBGDBCR_BYTE_ADDR_MASK 0xF
26#define DBGDBCR_BYTE_ADDR_SHIFT 5
27#define DBGDBCR_BRK_EN_MASK 0x1
30#define SPSR_REG_IDX 25
32#define GDB_READALL_PACKET_SIZE (42 * 8)
34#define IFSR_DEBUG_EVENT 0x2
67void z_gdb_entry(
struct arch_esf *esf,
unsigned int exc_cause);
AARCH32_GDB_REG
Definition gdbstub.h:36
@ R7
Definition gdbstub.h:45
@ R13
Definition gdbstub.h:52
@ SPSR
Definition gdbstub.h:56
@ R4
Definition gdbstub.h:42
@ R12
Definition gdbstub.h:50
@ R9
Definition gdbstub.h:47
@ R2
Definition gdbstub.h:39
@ LR
Definition gdbstub.h:53
@ R5
Definition gdbstub.h:43
@ R0
Definition gdbstub.h:37
@ R6
Definition gdbstub.h:44
@ PC
Definition gdbstub.h:54
@ R3
Definition gdbstub.h:40
@ GDB_NUM_REGS
Definition gdbstub.h:57
@ R8
Definition gdbstub.h:46
@ R11
Definition gdbstub.h:49
@ R10
Definition gdbstub.h:48
@ R1
Definition gdbstub.h:38
ARM AArch32 public exception handling.
Exception Stack Frame.
Definition exception.h:60
Architecture specific GDB context.
Definition gdbstub.h:61
unsigned int registers[GDB_NUM_REGS]
Definition gdbstub.h:64
unsigned int exception
Exception reason.
Definition gdbstub.h:63