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

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