From cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 18 Jan 2023 20:14:54 -0500 Subject: sim: info: convert verbose field to a bool The verbose argument has always been an int treated as a bool, so convert it to an explicit bool. Further, update the API docs to match the reality that the verbose value is actually used by some of the internal modules. --- sim/sh/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/sh/interp.c') diff --git a/sim/sh/interp.c b/sim/sh/interp.c index c067f0f..2e2e136 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -2272,7 +2272,7 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc) } void -sim_info (SIM_DESC sd, int verbose) +sim_info (SIM_DESC sd, bool verbose) { double timetaken = (double) saved_state.asregs.ticks / (double) now_persec (); -- cgit v1.1