Use "bool" in ada-lang.c
authorTom Tromey <tromey@adacore.com>
Thu, 4 Mar 2021 14:30:42 +0000 (07:30 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 4 Mar 2021 14:30:42 +0000 (07:30 -0700)
commit1178743e4c05d9c0daad5a105277fbc42872c9ea
tree97737f58e131e3ee8028bfd857bc24f1de366d63
parentca0e11aa4ba877e180f7d40dcc5a89540740c501
Use "bool" in ada-lang.c

Christian suggested switching an "int" in ada-lang.c to "bool"
instead.  This patch makes this change.  Tested on x86-64 Fedora 32.

gdb/ChangeLog
2021-03-04  Tom Tromey  <tromey@adacore.com>

* ada-lang.c (struct match_data) <found_sym>: Now bool.
(aux_add_nonlocal_symbols): Update.
(ada_add_block_symbols): Change "found_sym" to bool.
gdb/ChangeLog
gdb/ada-lang.c