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

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