aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-06-01 13:00:11 -0600
committerTom Tromey <tom@tromey.com>2022-08-04 13:28:04 -0600
commit0655397b573d93fe543d6ec4bd0e00e8b3ff5d81 (patch)
tree9be09f92e48ef1995212a41d213fca7d5d0d5485 /gdb/arch-utils.c
parent367dda85965bc03968edb43b2c86a2c25d3e846b (diff)
downloadgdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.zip
gdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.tar.gz
gdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.tar.bz2
Use bool in gdbarch
This changes gdbarch to use bool for initialized_p.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 4e55b27..e92004f 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -1542,7 +1542,7 @@ gdbarch_find_by_info (struct gdbarch_info info)
any post init values. */
new_gdbarch->dump_tdep = rego->dump_tdep;
verify_gdbarch (new_gdbarch);
- new_gdbarch->initialized_p = 1;
+ new_gdbarch->initialized_p = true;
if (gdbarch_debug)
gdbarch_dump (new_gdbarch, gdb_stdlog);