[multiple changes]

2012-02-08  Andrew MacLeod  <amacleod@redhat.com>

	* gcc.dg/simulate-thread/simulate-thread.exp: Use only -O0 and -O3.
	* gcc.dg/simulate-thread/simulate-thread.gdb: Don't display every 
	machine instuction in the log.

2012-02-08  Jack Howarth <howarth@bromo.med.uc.edu>

	* lib/gcc-simulate-thread.exp (simulate-thread): Increase timeout
	  to 20 seconds.

From-SVN: r184025
This commit is contained in:
Andrew Macleod 2012-02-08 22:58:50 +00:00
parent d2b480bc96
commit d7af47f6b0
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,14 @@
2012-02-08 Andrew MacLeod <amacleod@redhat.com>
* gcc.dg/simulate-thread/simulate-thread.exp: Use -O0, -O2, and -O3.
* gcc.dg/simulate-thread/simulate-thread.gdb: Don't display every
machine instuction in the log.
2012-02-08 Jack Howarth <howarth@bromo.med.uc.edu>
* lib/gcc-simulate-thread.exp (simulate-thread): Increase timeout
to 20 seconds.
2012-02-08 Magnus Granberg <zorry@gentoo.org>
PR driver/48524

View File

@ -24,10 +24,8 @@ dg-init
torture-init
set-torture-options [list \
{ -O0 -g } \
{ -O1 -g } \
{ -O2 -g } \
{ -O3 -g } \
{ -Os -g } ]
{ -O3 -g } ]
if [gdb-exists] {
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] ""

View File

@ -1,6 +1,6 @@
set height 0
break simulate_thread_main
disp/i $pc
# disp/i $pc
run
set $ret = 0

View File

@ -56,8 +56,8 @@ proc simulate-thread { args } {
set gdb_worked 0
# Set timeout to 10 seconds due to huge amount of generated log.
remote_expect target 10 {
# Set timeout to 20 seconds due to huge amount of generated log.
remote_expect target 20 {
# Too old GDB
-re "Unhandled dwarf expression|Error in sourced command file" {
unsupported "$testcase $message"