This changes gdbarch to use bool for initialized_p.
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);
struct gdbarch
{
/* Has this architecture been fully initialized? */
- int initialized_p;
+ bool initialized_p;
/* An obstack bound to the lifetime of the architecture. */
struct obstack *obstack;
print("struct gdbarch", file=f)
print("{", file=f)
print(" /* Has this architecture been fully initialized? */", file=f)
- print(" int initialized_p;", file=f)
+ print(" bool initialized_p;", file=f)
print(file=f)
print(" /* An obstack bound to the lifetime of the architecture. */", file=f)
print(" struct obstack *obstack;", file=f)