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

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