mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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:
@@ -354,7 +354,7 @@ sim_read (SIM_DESC sd, uint64_t mem, void *buffer, uint64_t length)
|
||||
}
|
||||
|
||||
void
|
||||
sim_info(SIM_DESC sd, int verbose)
|
||||
sim_info(SIM_DESC sd, bool verbose)
|
||||
{
|
||||
show_stat(&sregs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user