Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb Add description of inst_return
details: https://anonhg.NetBSD.org/src/rev/09072733d755
branches: trunk
changeset: 332397:09072733d755
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 19 17:29:01 2014 +0000
description:
Add description of inst_return
diffstat:
sys/ddb/db_run.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3e3c6231f24d -r 09072733d755 sys/ddb/db_run.c
--- a/sys/ddb/db_run.c Fri Sep 19 17:27:55 2014 +0000
+++ b/sys/ddb/db_run.c Fri Sep 19 17:29:01 2014 +0000
@@ -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 @@
* 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)
Home |
Main Index |
Thread Index |
Old Index