aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-29 21:48:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-29 21:48:10 +0000
commit37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc (patch)
treea0643e909187f2b1aa3499ae357b8b018bd37608 /gdb/testsuite
parent254e6b9ed4abf109cb8399aa3f8f387f7eb2465c (diff)
downloadgdb-37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc.zip
gdb-37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc.tar.gz
gdb-37cc8bfee6166ea05f1fa2e7d9f0f4d90663b7fc.tar.bz2
gdb/testsuite/
* gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to add .dynamic entry'.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp5
2 files changed, 11 insertions, 0 deletions
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 <jan.kratochvil@redhat.com>
+ Doug Evans <dje@google.com>
+
+ * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
+ add .dynamic entry'.
+
2010-06-29 Doug Evans <dje@google.com>
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