summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-07 09:18:07 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-07 09:18:07 +0000
commitd7bc709d6abb1f0fca0ffcc3b999ab1eefda67c7 (patch)
treebef719aa9feacf51b809ea2f7aaf6abd1394f76e /sys/ddb
parent841c2da642847ec4488021f598eba7c85bc5c252 (diff)
document needed MD funcs for SOFTWARE_SSTEP better
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_run.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c
index 04b6280abaf..f912b404187 100644
--- a/sys/ddb/db_run.c
+++ b/sys/ddb/db_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_run.c,v 1.9 1997/07/23 23:35:46 niklas Exp $ */
+/* $OpenBSD: db_run.c,v 1.10 1997/08/07 09:18:06 niklas Exp $ */
/* $NetBSD: db_run.c,v 1.8 1996/02/05 01:57:12 christos Exp $ */
/*
@@ -242,15 +242,16 @@ db_single_step(regs)
* the functions/macros defined below.
*
* extern boolean_t
- * inst_branch(), returns true if the instruction might branch
+ * inst_branch(ins), returns true if the instruction might branch
* extern unsigned
- * branch_taken(), return the address the instruction might
+ * branch_taken(ins, pc, getreg_val, regs),
+ * return the address the instruction might
* branch to
- * db_getreg_val(); return the value of a user register,
+ * getreg_val(regs, reg), return the value of a user register,
* as indicated in the hardware instruction
* encoding, e.g. 8 for r8
*
- * next_instr_address(pc,bd) returns the address of the first
+ * next_instr_address(pc, bd) returns the address of the first
* instruction following the one at "pc",
* which is either in the taken path of
* the branch (bd==1) or not. This is