diff options
author | Tom Tromey <tom@tromey.com> | 2022-06-01 13:00:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-08-04 13:28:04 -0600 |
commit | 0655397b573d93fe543d6ec4bd0e00e8b3ff5d81 (patch) | |
tree | 9be09f92e48ef1995212a41d213fca7d5d0d5485 /gdb/gdbarch.py | |
parent | 367dda85965bc03968edb43b2c86a2c25d3e846b (diff) | |
download | fsf-binutils-gdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.zip fsf-binutils-gdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.tar.gz fsf-binutils-gdb-0655397b573d93fe543d6ec4bd0e00e8b3ff5d81.tar.bz2 |
Use bool in gdbarch
This changes gdbarch to use bool for initialized_p.
Diffstat (limited to 'gdb/gdbarch.py')
-rwxr-xr-x | gdb/gdbarch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.py b/gdb/gdbarch.py index bb08081..4a0c522 100755 --- a/gdb/gdbarch.py +++ b/gdb/gdbarch.py @@ -257,7 +257,7 @@ with open("gdbarch.c", "w") as f: 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) |