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

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