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