aboutsummaryrefslogtreecommitdiff
path: root/sim/frv
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/frv
parent7fd14d6f580eeed46ef4d6f04f6b5f2f1318c0f9 (diff)
downloadgdb-cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba.zip
gdb-cc67f780ecdb8a5c50eaae9e04b7fc11ce23ddba.tar.gz
gdb-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/frv')
-rw-r--r--sim/frv/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/frv/profile.c b/sim/frv/profile.c
index fab941a..238816b 100644
--- a/sim/frv/profile.c
+++ b/sim/frv/profile.c
@@ -1991,7 +1991,7 @@ slot_names[] =
};
static void
-print_parallel (SIM_CPU *cpu, int verbose)
+print_parallel (SIM_CPU *cpu, bool verbose)
{
SIM_DESC sd = CPU_STATE (cpu);
PROFILE_DATA *p = CPU_PROFILE_DATA (cpu);
@@ -2057,7 +2057,7 @@ print_parallel (SIM_CPU *cpu, int verbose)
}
void
-frv_profile_info (SIM_CPU *cpu, int verbose)
+frv_profile_info (SIM_CPU *cpu, bool verbose)
{
/* FIXME: Need to add smp support. */
PROFILE_DATA *p = CPU_PROFILE_DATA (cpu);