gdb/testsuite:
authorYao Qi <yao@codesourcery.com>
Sun, 29 Apr 2012 06:40:02 +0000 (06:40 +0000)
committerYao Qi <yao@codesourcery.com>
Sun, 29 Apr 2012 06:40:02 +0000 (06:40 +0000)
* gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp

index 1c9bd0e7022470f3f9a812e11fbb2440c5e62776..ce820bcbb60d24ee58f4ccf65d9b73c559f0f786 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
+
 2012-04-28  Doug Evans  <dje@google.com>
 
        * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
index 000b7f3e3aaa580a1cf27791aa50c6538fc5e79a..c022c5dbfa54363e2b41f4ddc94ab6c104f59070 100644 (file)
 
 # Verify DW_AT_variable_parameter does not modify the data structures meaning
 # for GDB, as being used by iFort.
+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.
-if {![istarget *-*-linux*]
-    && ![istarget *-*-gnu*]
-    && ![istarget *-*-elf*]
-    && ![istarget *-*-openbsd*]
-    && ![istarget arm-*-eabi*]
-    && ![istarget powerpc-*-eabi*]} {
+if {![dwarf2_support]} {
     return 0
 }