|
@@ -235,13 +235,13 @@ static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr)
|
|
|
|
|
|
static struct break_hook kgdb_brkpt_hook = {
|
|
|
.esr_mask = 0xffffffff,
|
|
|
- .esr_val = DBG_ESR_VAL_BRK(KGDB_DYN_DBG_BRK_IMM),
|
|
|
+ .esr_val = ESR_ELx_VAL_BRK64(KGDB_DYN_DBG_BRK_IMM),
|
|
|
.fn = kgdb_brk_fn
|
|
|
};
|
|
|
|
|
|
static struct break_hook kgdb_compiled_brkpt_hook = {
|
|
|
.esr_mask = 0xffffffff,
|
|
|
- .esr_val = DBG_ESR_VAL_BRK(KGDB_COMPILED_DBG_BRK_IMM),
|
|
|
+ .esr_val = ESR_ELx_VAL_BRK64(KGDB_COMPILED_DBG_BRK_IMM),
|
|
|
.fn = kgdb_compiled_brk_fn
|
|
|
};
|
|
|
|