* binutils-all/objdump.exp: Tighten regexp to match `objdump -i'
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 9 Jun 1999 03:01:26 +0000 (03:01 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 9 Jun 1999 03:01:26 +0000 (03:01 +0000)
output to avoid massive exponential behaviour.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objdump.exp

index 98208508f6225c8d9c136e0e38cecb6c682af96f..a81cd0c7b4527f7f22032470b35b9180ba413f98 100644 (file)
@@ -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.
index 7c50f02fb6d2d2f5f5e795371e7b52ec3b3eca1f..063db9167bfa3c29c4e6efb611ba9566317487d1 100644 (file)
@@ -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"
This page took 0.027219 seconds and 4 git commands to generate.