summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_run.c
diff options
context:
space:
mode:
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