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

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