summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_run.c
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/ddb/db_run.c
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/ddb/db_run.c')
-rw-r--r--sys/ddb/db_run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index 2459eed..c17d0a4 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -104,8 +104,8 @@ db_stop_at_pc(is_breakpoint)
return (TRUE); /* stop here */
}
} else if (*is_breakpoint) {
-#ifdef __i386__ /* XXx */
- ddb_regs.tf_eip += 1;
+#ifdef BKPT_SKIP
+ BKPT_SKIP;
#endif
}
OpenPOWER on IntegriCloud