From 97fce28b401e39a75132db8b9c13c674f5122497 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 27 May 2011 12:47:10 +0000 Subject: [PATCH] gdb.mi: Get rid of the non-stop testcases. --- gdb/testsuite/ChangeLog | 10 ++++++++++ gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 11 ----------- gdb/testsuite/gdb.mi/mi-nonstop.exp | 11 ----------- gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp | 11 ----------- gdb/testsuite/gdb.mi/mi-nsintrall.exp | 11 ----------- gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 11 ----------- gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 11 ----------- 7 files changed, 10 insertions(+), 66 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index caa5af7..d5d24da 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2011-05-27 Marek Polacek + + * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase, + remove the `supported' variable. + * gdb.mi/mi-nonstop.exp: Likewise. + * gdb.mi/mi-ns-stale-regcache.exp: Likewise. + * gdb.mi/mi-nsintrall.exp: Likewise. + * gdb.mi/mi-nsmoribund.exp: Likewise. + * gdb.mi/mi-nsthrexec.exp: Likewise. + 2011-05-26 Pedro Alves * gdb.reverse/finish-reverse-bkpt.exp: New test. diff --git a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp index 73b22e3..b2e4948 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp @@ -36,17 +36,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async diff --git a/gdb/testsuite/gdb.mi/mi-nonstop.exp b/gdb/testsuite/gdb.mi/mi-nonstop.exp index baab611..fe009fa 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop.exp @@ -46,17 +46,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async diff --git a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp index 84a8b8b..e760a2d 100644 --- a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp +++ b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp @@ -50,17 +50,6 @@ if {[gdb_compile "$srcdir/$subdir/$srcfile" \ mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async diff --git a/gdb/testsuite/gdb.mi/mi-nsintrall.exp b/gdb/testsuite/gdb.mi/mi-nsintrall.exp index 964be02..82d9715 100644 --- a/gdb/testsuite/gdb.mi/mi-nsintrall.exp +++ b/gdb/testsuite/gdb.mi/mi-nsintrall.exp @@ -36,17 +36,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async diff --git a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp index 61b0982..09fbe6f 100644 --- a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp +++ b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp @@ -36,17 +36,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async diff --git a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp index 7d0689c..ccb0edb 100644 --- a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp +++ b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp @@ -46,17 +46,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile -set supported 0 -gdb_test_multiple "-gdb-show non-stop" "" { - -re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" { - if { $expect_out(1,string) == "1" } { - set supported 1 - } - } - -re ".*$mi_gdb_prompt$" { - } -} - mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" detect_async -- 2.7.4