aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/config
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-04-05 15:31:46 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-04-05 15:31:46 +0000
commit4b0d96c227925081204f8279594cbb3d6dea831c (patch)
treee3943b91405d23887f736229e4a3d1158020158a /gas/testsuite/config
parent0191bed77da12d7463ea3c792d33347d6d697956 (diff)
downloadgdb-4b0d96c227925081204f8279594cbb3d6dea831c.zip
gdb-4b0d96c227925081204f8279594cbb3d6dea831c.tar.gz
gdb-4b0d96c227925081204f8279594cbb3d6dea831c.tar.bz2
* lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.
Diffstat (limited to 'gas/testsuite/config')
-rw-r--r--gas/testsuite/config/default.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/config/default.exp b/gas/testsuite/config/default.exp
index 4134a03..f162d81 100644
--- a/gas/testsuite/config/default.exp
+++ b/gas/testsuite/config/default.exp
@@ -43,4 +43,12 @@ if ![info exists OBJCOPYFLAGS] then {
set OBJCOPYFLAGS {}
}
+if ![info exists READELF] then {
+ set READELF [findfile $base_dir/../../binutils/readelf]
+}
+
+if ![info exists READELFFLAGS] then {
+ set READELFFLAGS {}
+}
+
gas_init