aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-18 20:14:54 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-18 20:47:55 -0500
commitcc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba (patch)
treec8445fbe78b1e5a2599e45689cf67e14938ceaf7 /sim/rl78
parent7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9 (diff)
downloadbinutils-cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba.zip
binutils-cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba.tar.gz
binutils-cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba.tar.bz2
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.
Diffstat (limited to 'sim/rl78')
-rw-r--r--sim/rl78/gdb-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c
index be93f57..d780bc0 100644
--- a/sim/rl78/gdb-if.c
+++ b/sim/rl78/gdb-if.c
@@ -391,7 +391,7 @@ sim_store_register (SIM_DESC sd, int regno, const void *buf, int length)
/* Print out message associated with "info target". */
void
-sim_info (SIM_DESC sd, int verbose)
+sim_info (SIM_DESC sd, bool verbose)
{
check_desc (sd);