From: Andreas Schwab Date: Wed, 9 Jun 1999 03:01:26 +0000 (+0000) Subject: * binutils-all/objdump.exp: Tighten regexp to match `objdump -i' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3026443322cbd6c93dc22d830ed766353b522bc0;p=binutils-gdb.git * binutils-all/objdump.exp: Tighten regexp to match `objdump -i' output to avoid massive exponential behaviour. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 98208508f62..a81cd0c7b45 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 9 11:59:22 1999 Andreas Schwab + + * binutils-all/objdump.exp: Tighten regexp to match `objdump -i' + output to avoid massive exponential behaviour. + 1999-05-28 Ian Lance Taylor * 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 7c50f02fb6d..063db9167bf 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"