This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Use proc `dwarf2_support' in dw2-ifort-parameter.exp
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 27 Apr 2012 22:12:10 +0800
- Subject: [obv] Use proc `dwarf2_support' in dw2-ifort-parameter.exp
We should use proc `dwarf2_support' like other *.exp in gdb.dwarf2
directory. It is obvious, and I'll commit later today.
gdb/testsuite:
2012-04-27 Yao Qi <yao@codesourcery.com>
* gdb.dwarf2/dw2-ifort-parameter.exp
---
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
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
}
--
1.7.0.4