Skip gdb ifunc tests on targets that don't support this feature.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 3 Oct 2018 16:16:53 +0000 (09:16 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 3 Oct 2018 16:16:53 +0000 (09:16 -0700)
commitca98345e0b3fda08ae79e4cb07632eab84ef6ef2
tree9e7f1ae4e1f53017eb5a9df1edbd0100402fddcd
parentc8d3f93237d77f76d14e09e44bc770ce9428b0e4
Skip gdb ifunc tests on targets that don't support this feature.

2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>

* lib/gdb.exp (skip_ifunc_tests): New.
* gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
other compile failures.
* gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gnu-ifunc.exp
gdb/testsuite/gdb.compile/compile-ifunc.exp
gdb/testsuite/lib/gdb.exp