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

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