db_expr_t should be a intptr_t, not an int. These expressions can be

addresses or numbers, and that's a intptr_t if I ever saw one.
This commit is contained in:
Warner Losh 2009-07-05 06:44:37 +00:00
parent 6855d90580
commit 4ecfc54d9d

View File

@ -46,7 +46,7 @@ typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
typedef vm_offset_t db_addr_t; /* address - unsigned */
typedef int db_expr_t; /* expression - signed */
typedef intptr_t db_expr_t; /* expression - signed */
#if BYTE_ORDER == _BIG_ENDIAN
#define BYTE_MSF (1)