mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Use cpuregs.h spellings over the cpu.h spellings.
This commit is contained in:
parent
50a9f1c71c
commit
b995e62fd0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210041
@ -55,7 +55,7 @@ typedef register_t db_expr_t; /* expression - signed */
|
|||||||
#define SOFTWARE_SSTEP_EMUL /* next_instr_address() emulates 100% */
|
#define SOFTWARE_SSTEP_EMUL /* next_instr_address() emulates 100% */
|
||||||
db_addr_t next_instr_address(db_addr_t, boolean_t);
|
db_addr_t next_instr_address(db_addr_t, boolean_t);
|
||||||
#define BKPT_SIZE (4)
|
#define BKPT_SIZE (4)
|
||||||
#define BKPT_SET(ins) (BREAK_DDB)
|
#define BKPT_SET(ins) (MIPS_BREAK_DDB)
|
||||||
#define DB_VALID_BREAKPOINT(addr) (((addr) & 3) == 0)
|
#define DB_VALID_BREAKPOINT(addr) (((addr) & 3) == 0)
|
||||||
|
|
||||||
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAK)
|
#define IS_BREAKPOINT_TRAP(type, code) ((type) == T_BREAK)
|
||||||
@ -65,7 +65,7 @@ db_addr_t next_instr_address(db_addr_t, boolean_t);
|
|||||||
#define BKPT_SKIP \
|
#define BKPT_SKIP \
|
||||||
do { \
|
do { \
|
||||||
if((db_get_value(kdb_frame->pc, sizeof(int), FALSE) & \
|
if((db_get_value(kdb_frame->pc, sizeof(int), FALSE) & \
|
||||||
~BREAK_VAL_MASK) == BREAK_INSTR) { \
|
~MIPS_BREAK_VAL_MASK) == MIPS_BREAK_INSTR) { \
|
||||||
kdb_frame->pc += BKPT_SIZE; \
|
kdb_frame->pc += BKPT_SIZE; \
|
||||||
kdb_thrctx->pcb_regs.pc += BKPT_SIZE; \
|
kdb_thrctx->pcb_regs.pc += BKPT_SIZE; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user