diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2024-04-29 22:53:25 -0300 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2024-05-23 00:55:45 -0300 |
commit | 100318bcfda243f04cda3c29e8873c5710a1688a (patch) | |
tree | 65eb725004ba3cee9a190c58d780b2e45e1908c5 /gdb/testsuite/gdb.arch/powerpc-altivec2.exp | |
parent | fc12b44ec0e07e036155092ddfffe0c237415611 (diff) | |
download | gdb-100318bcfda243f04cda3c29e8873c5710a1688a.zip gdb-100318bcfda243f04cda3c29e8873c5710a1688a.tar.gz gdb-100318bcfda243f04cda3c29e8873c5710a1688a.tar.bz2 |
gdb/testsuite: Restore libc_has_debug_info's less strict behaviour
The code that was factored out from gdb.base/relativedebug.exp assumed that
libc has debug info and only determined that it doesn't if it saw a specific
message from GDB to that effect. In the process of factoring it into a
require predicate, I made it stricter by trying to make a specific
determination of whether or not debug info is available.
Pedro noticed that "It'll disable the testcase on systems that link with
their libc statically (even if has debug info), or systems that name their
libc something else." Which is something I hadn't considered.
This patch returns libc_has_debug_info to the original behaviour.
Also, remove a verbose message that is redundant with the $message
variable.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31700
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.arch/powerpc-altivec2.exp')
0 files changed, 0 insertions, 0 deletions