From 37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 29 Jun 2010 21:48:10 +0000 Subject: gdb/testsuite/ * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to add .dynamic entry'. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/break-interp.exp | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 65f0db3..083dcf9 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 7500a0a..4742889 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 -- cgit v1.1