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

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