]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: Add libc_has_debug_info require helper
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>
Fri, 19 Apr 2024 06:02:46 +0000 (03:02 -0300)
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>
Wed, 24 Apr 2024 16:20:42 +0000 (13:20 -0300)
commitf5ef12c3f1af890dcdc6dc54f5ea58a05c6cf65a
tree2255c7343e93dedcce69a1ec23016e8d7cdd4178
parentf908b93b48634083338eed5183ac519db8925b38
gdb/testsuite: Add libc_has_debug_info require helper

Factor the test for libc debug info out of gdb.base/relativedebug.exp to
a new procedure.

Also, change the "info sharedlibrary" test to explicitly detect when
libc has debug info.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/testsuite/gdb.base/relativedebug.exp
gdb/testsuite/lib/gdb.exp