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