diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-15 11:06:07 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-15 11:06:07 +0000 |
commit | 01ee11f4089db73bd35056711623d696d285dc94 (patch) | |
tree | 436c5cb5980e2a98d7b1f21477fbda20cf5f27ed /sys/ddb/db_break.h | |
parent | 5330a2f5be549ed9795bcd65dfa6b7a02d8e59ee (diff) | |
download | FreeBSD-src-01ee11f4089db73bd35056711623d696d285dc94.zip FreeBSD-src-01ee11f4089db73bd35056711623d696d285dc94.tar.gz |
Fill out some gaps in ia64 DDB support. This involves generalising DDB's
breakpoint handling slightly to cope with the fact that ia64 instructions
are not located on byte boundaries.
Diffstat (limited to 'sys/ddb/db_break.h')
-rw-r--r-- | sys/ddb/db_break.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ddb/db_break.h b/sys/ddb/db_break.h index 008acab..88520da 100644 --- a/sys/ddb/db_break.h +++ b/sys/ddb/db_break.h @@ -37,6 +37,10 @@ * Breakpoint. */ +#ifndef BKPT_INST_TYPE +#define BKPT_INST_TYPE int +#endif + struct db_breakpoint { vm_map_t map; /* in this map */ db_addr_t address; /* set here */ @@ -45,7 +49,7 @@ struct db_breakpoint { int flags; /* flags: */ #define BKPT_SINGLE_STEP 0x2 /* to simulate single step */ #define BKPT_TEMP 0x4 /* temporary */ - int bkpt_inst; /* saved instruction at bkpt */ + BKPT_INST_TYPE bkpt_inst; /* saved instruction at bkpt */ struct db_breakpoint *link; /* link in in-use or free chain */ }; typedef struct db_breakpoint *db_breakpoint_t; |