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

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