gdb/testsuite: disable some tests of gdb.cp/typeid.exp when using Clang
authorBruno Larsen <blarsen@redhat.com>
Thu, 29 Sep 2022 12:51:34 +0000 (14:51 +0200)
committerBruno Larsen <blarsen@redhat.com>
Fri, 11 Nov 2022 09:13:45 +0000 (10:13 +0100)
commitebe9ddbce72cb50e8d18663feafd48a7b172fab9
tree77023e94950d9fc46ab1bf8922dcc49af3bf4aa4
parentad9421bb1532bfd6ff14c6d841177a6e6d07fd27
gdb/testsuite: disable some tests of gdb.cp/typeid.exp when using Clang

Since Clang chooses to not add any debug information for base types,
expecting it to be included with libraries' informations, gdb.cp/typeid.exp
will always fail if the program hasn't started.  This commit fixes that by
making it so when using Clang, the base type variables aren't tested.

Approved-by: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.cp/typeid.exp