Use bool and early loop exit in remove_extra_symbols
authorTom Tromey <tromey@adacore.com>
Tue, 4 Apr 2023 15:27:29 +0000 (09:27 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 12 May 2023 19:25:28 +0000 (13:25 -0600)
commit44a37a985325184e36743685ce496b042da7a816
tree4e4a9abf9804aa021e76a51e4e4faf63d2e0d0b6
parentff4631e22bfc5d6a76b8d5520abbf0c9c2a57cd4
Use bool and early loop exit in remove_extra_symbols

This changes remove_extra_symbols to use bool rather than int, and
changes the nested loops to exit early when "remove_p" is set.
gdb/ada-lang.c