Use bool in gdbarch

This changes gdbarch to use bool for initialized_p.
This commit is contained in:
Tom Tromey
2022-06-01 13:00:11 -06:00
parent 367dda8596
commit 0655397b57
3 changed files with 3 additions and 3 deletions

View File

@@ -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);