X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.dwarf2%2Fdup-psym.exp;fp=gdb%2Ftestsuite%2Fgdb.dwarf2%2Fdup-psym.exp;h=ec295355776f711dc3cd8bac322af39ebf4e722c;hb=cbad6d5ba66a94967eaf14df64463a4abca700d6;hp=f4104d80b4d5e612cd905cc781a0304ee1a4cb59;hpb=b110964dfb2d0779466e4e604983d3afa83993a4;p=pf3gnuchains%2Fpf3gnuchains4x.git diff --git a/gdb/testsuite/gdb.dwarf2/dup-psym.exp b/gdb/testsuite/gdb.dwarf2/dup-psym.exp index f4104d80b4..ec29535577 100644 --- a/gdb/testsuite/gdb.dwarf2/dup-psym.exp +++ b/gdb/testsuite/gdb.dwarf2/dup-psym.exp @@ -1,4 +1,4 @@ -# Copyright 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright 2005, 2007-2012 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -12,16 +12,12 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +load_lib dwarf.exp # Minimal DWARF-2 unit test # 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 arm-*-eabi*] - && ![istarget powerpc-*-eabi*]} { +if {![dwarf2_support]} { return 0 }