From: Jan Kratochvil Date: Tue, 29 Jun 2010 21:48:10 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc;p=binutils-gdb.git gdb/testsuite/ * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to add .dynamic entry'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 65f0db3618a..083dcf9e897 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-06-29 Jan Kratochvil + Doug Evans + + * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to + add .dynamic entry'. + 2010-06-29 Doug Evans Test PR c++/11702. diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp index 7500a0aa945..4742889aa47 100644 --- a/gdb/testsuite/gdb.base/break-interp.exp +++ b/gdb/testsuite/gdb.base/break-interp.exp @@ -163,6 +163,11 @@ proc prelinkYES {arg {name ""}} { if {$result == 0 && $output == ""} { pass $test return 1 + } elseif {$result == 1 \ + && [string match -nocase "*: Not enough room to add .dynamic entry" $output]} { + # Linker should have reserved some entries for prelink. + xfail $test + return 0 } else { fail $test return 0