diff options
author | Pedro Alves <palves@redhat.com> | 2011-08-09 17:45:19 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-08-09 17:45:19 +0000 |
commit | fcdfa2809a284d8c7e4525e1c74e33a0ed524292 (patch) | |
tree | b1cc9073e036f0ee9a5ecda2ac993516ba5ad365 /gdb | |
parent | 9d8fa392330553fe114ae4137d15415aee2c547c (diff) | |
download | gdb-fcdfa2809a284d8c7e4525e1c74e33a0ed524292.zip gdb-fcdfa2809a284d8c7e4525e1c74e33a0ed524292.tar.gz gdb-fcdfa2809a284d8c7e4525e1c74e33a0ed524292.tar.bz2 |
2011-08-09 Pedro Alves <pedro@codesourcery.com>
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nonstop-exit.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nonstop.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nsintrall.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 4 |
8 files changed, 19 insertions, 8 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 35578ba..d43c42a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,16 @@ 2011-08-09 Pedro Alves <pedro@codesourcery.com> + * 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 <pedro@codesourcery.com> + * gdb.base/display.c (do_loops): New `p_i' local. * gdb.base/display.exp: Test displaying a variable that is temporarily at a bad address. diff --git a/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp b/gdb/testsuite/gdb.mi/mi-nonstop-exit.exp index 8493b4c..ecaea7d 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 ec88f02..c1364eb 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 b8d5e4f..f6bcb53 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 046063b..f8a01a0 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 1bf8920..286004b 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 06dd1d9..3968e62 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 e225e9f..c8ec00d 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 |