summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-09-15 11:06:07 +0000
committerdfr <dfr@FreeBSD.org>2001-09-15 11:06:07 +0000
commit01ee11f4089db73bd35056711623d696d285dc94 (patch)
tree436c5cb5980e2a98d7b1f21477fbda20cf5f27ed /sys/amd64/include
parent5330a2f5be549ed9795bcd65dfa6b7a02d8e59ee (diff)
downloadFreeBSD-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/amd64/include')
-rw-r--r--sys/amd64/include/db_machdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/db_machdep.h b/sys/amd64/include/db_machdep.h
index f37d2e8..ba84fc6 100644
--- a/sys/amd64/include/db_machdep.h
+++ b/sys/amd64/include/db_machdep.h
@@ -48,6 +48,8 @@ extern db_regs_t ddb_regs; /* register state */
#define BKPT_SIZE (1) /* size of breakpoint inst */
#define BKPT_SET(inst) (BKPT_INST)
+#define BKPT_SKIP ddb_regs.tf_eip += 1
+
#define FIXUP_PC_AFTER_BREAK ddb_regs.tf_eip -= 1;
#define db_clear_single_step(regs) ((regs)->tf_eflags &= ~PSL_T)
OpenPOWER on IntegriCloud