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/ppc/sim_calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/ppc/sim_calls.c') diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index 8854445..13e39a6 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -149,7 +149,7 @@ sim_write (SIM_DESC sd, uint64_t mem, const void *buf, uint64_t length) } void -sim_info (SIM_DESC sd, int verbose) +sim_info (SIM_DESC sd, bool verbose) { TRACE(trace_gdb, ("sim_info(verbose=%d) called\n", verbose)); psim_print_info (simulator, verbose); -- cgit v1.1