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