aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-04-29 06:40:02 +0000
committerYao Qi <yao@codesourcery.com>2012-04-29 06:40:02 +0000
commitb9e219b912685884af315a532040f5f6cf631341 (patch)
tree69899442e3b431c64e98c64f33a3c8b82f28a73b /gdb
parent623b6bdf12dec583722ca6615e5ff26581597d6c (diff)
downloadgdb-b9e219b912685884af315a532040f5f6cf631341.zip
gdb-b9e219b912685884af315a532040f5f6cf631341.tar.gz
gdb-b9e219b912685884af315a532040f5f6cf631341.tar.bz2
gdb/testsuite:
* gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp9
2 files changed, 6 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1c9bd0e..ce820bc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp b/gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp
index 000b7f3..c022c5d 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp
@@ -15,15 +15,10 @@
# 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
}