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

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