]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use SEARCH_FUNCTION_DOMAIN when looking for Ada exception symbols
authorTom Tromey <tromey@adacore.com>
Wed, 14 Aug 2024 16:45:30 +0000 (10:45 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 20 Aug 2024 13:58:06 +0000 (07:58 -0600)
commita55790e99235b39582a1c3e85199f8139612f24a
tree6485d733e8157387c4a5c1a86087b80ea2b77d6e
parent60202b0cedbec7bc692e926c9943ab7e7d2504ac
Use SEARCH_FUNCTION_DOMAIN when looking for Ada exception symbols

While working on another bug, I noticed that the Ada code to find
exception symbols uses SEARCH_VFT.  This will find variables and types
-- but only functions are needed here.  This patch changes the code to
use SEARCH_FUNCTION_DOMAIN.

Tested on x86-64 Fedora 38, using a version of GNAT with the debuginfo
installed, to ensure the exception-related tests work.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/ada-lang.c