Module Name: src
Committed By: matt
Date: Fri Sep 19 17:29:01 UTC 2014
Modified Files:
src/sys/ddb: db_run.c
Log Message:
Add description of inst_return
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/ddb/db_run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ddb/db_run.c
diff -u src/sys/ddb/db_run.c:1.32 src/sys/ddb/db_run.c:1.33
--- src/sys/ddb/db_run.c:1.32 Sat Oct 19 14:33:07 2013
+++ src/sys/ddb/db_run.c Fri Sep 19 17:29:01 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $ */
+/* $NetBSD: db_run.c,v 1.33 2014/09/19 17:29:01 matt Exp $ */
/*
* Mach Operating System
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_run.c,v 1.33 2014/09/19 17:29:01 matt Exp $");
#include "opt_ddb.h"
@@ -345,6 +345,9 @@ db_continue_cmd(db_expr_t addr, bool hav
* bool inst_call(int inst)
* returns true if the instruction might branch
*
+ * bool inst_return(int inst)
+ * returns true is the instruction will return to its caller
+ *
* bool inst_unconditional_flow_transfer(int inst)
* returns true if the instruction is an unconditional
* transter of flow (i.e. unconditional branch)