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

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