Blame SOURCES/gdb-6.6-testsuite-timeouts.patch

b2f73e
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
b2f73e
From: Fedora GDB patches <invalid@email.com>
b2f73e
Date: Fri, 27 Oct 2017 21:07:50 +0200
b2f73e
Subject: gdb-6.6-testsuite-timeouts.patch
b2f73e
b2f73e
;; Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
b2f73e
;;=fedoratest
b2f73e
b2f73e
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp
b2f73e
--- a/gdb/testsuite/gdb.base/annota1.exp
b2f73e
+++ b/gdb/testsuite/gdb.base/annota1.exp
b2f73e
@@ -39,6 +39,8 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
b2f73e
 
b2f73e
 clean_restart ${binfile}
b2f73e
 
b2f73e
+gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions"
b2f73e
+
b2f73e
 # The commands we test here produce many lines of output; disable "press 
b2f73e
 # <return> to continue" prompts.
b2f73e
 gdb_test_no_output "set height 0"
b2f73e
diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp
b2f73e
--- a/gdb/testsuite/gdb.base/annota3.exp
b2f73e
+++ b/gdb/testsuite/gdb.base/annota3.exp
b2f73e
@@ -38,6 +38,8 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
b2f73e
 
b2f73e
 clean_restart ${binfile}
b2f73e
 
b2f73e
+gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions"
b2f73e
+
b2f73e
 # The commands we test here produce many lines of output; disable "press 
b2f73e
 # <return> to continue" prompts.
b2f73e
 gdb_test_no_output "set height 0"