aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break-interp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/break-interp.exp')
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp5
1 files changed, 5 insertions, 0 deletions
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