From: Pedro Alves Date: Tue, 9 Aug 2011 17:45:19 +0000 (+0000) Subject: 2011-08-09 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcdfa2809a284d8c7e4525e1c74e33a0ed524292;p=binutils-gdb.git 2011-08-09 Pedro Alves gdb/testsuite/ * lib/mi-support.exp (detect_async): Rename to... (mi_detect_async): ... this. * gdb.mi/mi-nonstop-exit.exp: Adjust. * gdb.mi/mi-nonstop.exp: Adjust. * gdb.mi/mi-ns-stale-regcache.exp: Adjust. * gdb.mi/mi-nsintrall.exp: Adjust. * gdb.mi/mi-nsmoribund.exp: Adjust. * gdb.mi/mi-nsthrexec.exp: Adjust. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 35578ba6c4c..d43c42a2363 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2011-08-09 Pedro Alves + + * lib/mi-support.exp (detect_async): Rename to... + (mi_detect_async): ... this. + * gdb.mi/mi-nonstop-exit.exp: Adjust. + * gdb.mi/mi-nonstop.exp: Adjust. + * gdb.mi/mi-ns-stale-regcache.exp: Adjust. + * gdb.mi/mi-nsintrall.exp: Adjust. + * gdb.mi/mi-nsmoribund.exp: Adjust. + * gdb.mi/mi-nsthrexec.exp: Adjust. + 2011-08-09 Pedro Alves * gdb.base/display.c (do_loops): New `p_i' local. diff --git a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp index 8493b4c0ec1..ecaea7d6ec7 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp @@ -43,7 +43,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/gdb.mi/mi-nonstop.exp b/gdb/testsuite/gdb.mi/mi-nonstop.exp index ec88f02adb4..c1364eb0bb5 100644 --- a/gdb/testsuite/gdb.mi/mi-nonstop.exp +++ b/gdb/testsuite/gdb.mi/mi-nonstop.exp @@ -54,7 +54,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp index b8d5e4fc143..f6bcb53da3d 100644 --- a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp +++ b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp @@ -57,7 +57,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/gdb.mi/mi-nsintrall.exp b/gdb/testsuite/gdb.mi/mi-nsintrall.exp index 046063b20cf..f8a01a0124e 100644 --- a/gdb/testsuite/gdb.mi/mi-nsintrall.exp +++ b/gdb/testsuite/gdb.mi/mi-nsintrall.exp @@ -43,7 +43,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp index 1bf892008a6..286004b7b63 100644 --- a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp +++ b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp @@ -43,7 +43,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp index 06dd1d93c5b..3968e627bff 100644 --- a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp +++ b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp @@ -53,7 +53,7 @@ mi_gdb_load $binfile mi_gdb_test "-gdb-set non-stop 1" ".*" mi_gdb_test "-gdb-set target-async 1" ".*" -detect_async +mi_detect_async if { [mi_run_to_main] < 0 } { continue diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index e225e9fae23..c8ec00d0e85 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -223,7 +223,7 @@ proc default_mi_gdb_start { args } { } } - detect_async + mi_detect_async return 0; } @@ -932,7 +932,7 @@ proc mi_step { test } { set async "unknown" -proc detect_async {} { +proc mi_detect_async {} { global async global mi_gdb_prompt