diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2001-09-15 11:06:07 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2001-09-15 11:06:07 +0000 |
commit | 3a0b4f259c31ab78da84510d8acf73cc38a2c065 (patch) | |
tree | 436c5cb5980e2a98d7b1f21477fbda20cf5f27ed /sys/ddb/db_break.h | |
parent | de1792cbb842c2a9a54a993e69fac2a36b911b36 (diff) | |
download | src-3a0b4f259c31ab78da84510d8acf73cc38a2c065.tar.gz src-3a0b4f259c31ab78da84510d8acf73cc38a2c065.zip |
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.
Notes
Notes:
svn path=/head/; revision=83506
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 008acab85b1e..88520da73d79 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; |