aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-04-24 16:18:41 -0600
committerTom Tromey <tom@tromey.com>2019-05-04 14:13:28 -0600
commitfa9c2a59e3110d8c7d37c1fa602cb6b25b796dc7 (patch)
treeba2937877ea0116e40f91d36f284e2f3f9551fdd /gdb/arc-tdep.c
parente2eb806a17490963f23be1d567cff357537df678 (diff)
downloadgdb-fa9c2a59e3110d8c7d37c1fa602cb6b25b796dc7.zip
gdb-fa9c2a59e3110d8c7d37c1fa602cb6b25b796dc7.tar.gz
gdb-fa9c2a59e3110d8c7d37c1fa602cb6b25b796dc7.tar.bz2
Use bool, true, and false in arc-tdep.c
This changes arc-tdep.c to use bool, true, and false. gdb/ChangeLog 2019-05-04 Tom Tromey <tom@tromey.com> * arc-tdep.c (arc_tdesc_init): Use bool.
Diffstat (limited to 'gdb/arc-tdep.c')
-rw-r--r--gdb/arc-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 009af11..9c02960 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -1746,7 +1746,7 @@ arc_tdesc_init (struct gdbarch_info info, const struct target_desc **tdesc,
tag. */
/* Cannot use arc_mach_is_arcv2 (), because gdbarch is not created yet. */
const int is_arcv2 = (info.bfd_arch_info->mach == bfd_mach_arc_arcv2);
- int is_reduced_rf;
+ bool is_reduced_rf;
const char *const *core_regs;
const char *core_feature_name;
@@ -1806,7 +1806,7 @@ arc_tdesc_init (struct gdbarch_info info, const struct target_desc **tdesc,
return FALSE;
}
- is_reduced_rf = FALSE;
+ is_reduced_rf = false;
core_feature_name = core_v2_feature_name;
core_regs = core_v2_register_names;
}
@@ -1822,7 +1822,7 @@ arc_tdesc_init (struct gdbarch_info info, const struct target_desc **tdesc,
return FALSE;
}
- is_reduced_rf = TRUE;
+ is_reduced_rf = true;
core_feature_name = core_reduced_v2_feature_name;
core_regs = core_v2_register_names;
}
@@ -1839,7 +1839,7 @@ arc_tdesc_init (struct gdbarch_info info, const struct target_desc **tdesc,
return FALSE;
}
- is_reduced_rf = FALSE;
+ is_reduced_rf = false;
core_feature_name = core_arcompact_feature_name;
core_regs = core_arcompact_register_names;
}