+2012-02-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR target/51753
+ * lib/gcc-simulate-thread.exp: Load timeout.exp.
+ (simulate-thread): Use default timeout.
+
2012-02-16 Jason Merrill <jason@redhat.com>
PR c++/52248
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
+load_lib timeout.exp
+
# Utility for running a given test through the simulate-thread harness
# using gdb. This is invoked via dg-final.
#
set gdb_worked 0
- # Set timeout to 20 seconds due to huge amount of generated log.
- remote_expect target 20 {
+ remote_expect target [timeout_value] {
# Too old GDB
-re "Unhandled dwarf expression|Error in sourced command file" {
unsupported "$testcase $message"