[PATCH] [gdb/testsuite] Use find_gnatmake instead of gdb_find_gnatmake

Tom Tromey tom@tromey.com
Thu Apr 18 14:58:33 GMT 2024


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> It's confusing that we're using the gdb_ prefix for gdb_find_gnatmake, it
Tom> seems something legitimate to use.  Maybe we should use future_ or gdb_future_
Tom> prefix instead to make this more clear, but I've left that alone for now.

Tom> Fix this by:
Tom> - triggering the same error with a recent dejagnu by removing
Tom>   gdb_find_gnatmake unless used (and likewise for other procs in future.exp),
Tom>   and
Tom> - using find_gnatmake in gnatmake_version_at_least.

Tom> Tested on x86_64-linux.

Tom> PR testsuite/31647
Tom> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31647

Thanks.  This looks good to me.
Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list