aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>1999-06-09 03:01:26 +0000
committerAndreas Schwab <schwab@linux-m68k.org>1999-06-09 03:01:26 +0000
commit3026443322cbd6c93dc22d830ed766353b522bc0 (patch)
tree51d7b19e926872aa5786c0a214270247f4dce4c8
parent148d3c43bee8cfe438a60f7e86732edf2cbf8d43 (diff)
downloadgdb-3026443322cbd6c93dc22d830ed766353b522bc0.zip
gdb-3026443322cbd6c93dc22d830ed766353b522bc0.tar.gz
gdb-3026443322cbd6c93dc22d830ed766353b522bc0.tar.bz2
* binutils-all/objdump.exp: Tighten regexp to match `objdump -i'
output to avoid massive exponential behaviour.
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/objdump.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 9820850..a81cd0c 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 9 11:59:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * binutils-all/objdump.exp: Tighten regexp to match `objdump -i'
+ output to avoid massive exponential behaviour.
+
1999-05-28 Ian Lance Taylor <ian@zembu.com>
* binutils-all/readelf.h: Update for changes of 1999-04-08.
diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 7c50f02..063db91 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -40,7 +40,7 @@ if ![regexp $cpus_expected $target_cpu] {
regsub "^\[(\]" "$cpus_expected" "(${target_cpu}|" cpus_expected;
}
-set want "BFD header file version.*srec.*header .* endian.*, data .* endian.*$cpus_expected"
+set want "BFD header file version.*srec\[^\n\]*\n\[^\n\]*header \[^\n\]*endian\[^\n\]*, data \[^\n\]*endian.*$cpus_expected"
if [regexp $want $got] then {
pass "objdump -i"