]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: add build-id compile flag to tests that expect it
authorGuinevere Larsen <blarsen@redhat.com>
Wed, 31 Jul 2024 14:23:51 +0000 (11:23 -0300)
committerGuinevere Larsen <blarsen@redhat.com>
Fri, 2 Aug 2024 12:06:26 +0000 (09:06 -0300)
commit853d02bc0701a789ffcad0e429c0f36319852857
treee92e86ed2d510db8cd979b63ad1ba3edd7a83cb4
parent4a9843c301e5453ae21639e500b9b2bd62ff1e69
gdb/testsuite: add build-id compile flag to tests that expect it

Clang doesn't add build-id information by default, unlike gcc. This
means that tests that rely on build-id being available and don't
explicitly add it to the compilation options will fail with clang.
This commit fixes the fails in gdb.python/py-missing-debug.exp,
gdb.server/remote-read-msgs.exp, gdb.base/coredump-filter-build-id.exp
and gdb.server/solib-list.exp

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/testsuite/gdb.base/coredump-filter-build-id.exp
gdb/testsuite/gdb.python/py-missing-debug.exp
gdb/testsuite/gdb.server/remote-read-msgs.exp
gdb/testsuite/gdb.server/solib-list.exp