]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
2011-01-19 Yao Qi <yao@codesourcery.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.mi / dw2-ref-missing-frame.exp
index d1931e0f948ef1ec0e57d256e8bfb4748ffd53f5..91f4fb71d3e2e1e6ce9ec8ce7c6539d236748a0c 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+load_lib dwarf.exp
 # This test can only be run on targets which support DWARF-2 and use gas.
-# For now pick a sampling of likely targets.
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
-if {![istarget *-*-linux*]
-    && ![istarget *-*-gnu*]
-    && ![istarget *-*-elf*]
-    && ![istarget *-*-openbsd*]
-    && ![istarget arm-*-eabi*]
-    && ![istarget powerpc-*-eabi*]} {
+if {![dwarf2_support]} {
     return 0
 }