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.
This commit is contained in:
Mike Frysinger
2023-01-18 20:14:54 -05:00
parent 7fd14d6f58
commit cc67f780ec
21 changed files with 31 additions and 30 deletions

View File

@ -644,7 +644,7 @@ sim_store_register (SIM_DESC sd, int regno, const void *buf, int length)
}
void
sim_info (SIM_DESC sd, int verbose)
sim_info (SIM_DESC sd, bool verbose)
{
check_desc (sd);