Browse Source

* binutils-all/objdump.exp: Tighten regexp to match `objdump -i'

output to avoid massive exponential behaviour.
gdb-premipsmulti-2000-06-06-branch
Andreas Schwab 28 years ago
parent
commit
3026443322
  1. 5
      binutils/testsuite/ChangeLog
  2. 2
      binutils/testsuite/binutils-all/objdump.exp

5
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.

2
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"

Loading…
Cancel
Save