X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.dwarf2%2Fdw2-inheritance.exp;h=92fd0f3040736d0b98f42bbfef3388d9dfd5c8c4;hb=1d41d745ca37dc95f93c8e1a148b3c46c85d7273;hp=d88907435c041100dfbd3eacf5f2ada1ad5de949;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp b/gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp index d88907435c..92fd0f3040 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp @@ -12,18 +12,13 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +load_lib dwarf.exp # Test DW_TAG_inheritance using constant DW_AT_data_member_location # introduced by GCC PR debug/40659. # This test can only be run on targets which support DWARF-2 and use gas. -# For now pick a sampling of likely targets. -if {![istarget *-*-linux*] - && ![istarget *-*-gnu*] - && ![istarget *-*-elf*] - && ![istarget *-*-openbsd*] - && ![istarget arm-*-eabi*] - && ![istarget powerpc-*-eabi*]} { +if {![dwarf2_support]} { return 0 }