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

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