aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-08-09 17:45:19 +0000
committerPedro Alves <palves@redhat.com>2011-08-09 17:45:19 +0000
commitfcdfa2809a284d8c7e4525e1c74e33a0ed524292 (patch)
treeb1cc9073e036f0ee9a5ecda2ac993516ba5ad365 /gdb
parent9d8fa392330553fe114ae4137d15415aee2c547c (diff)
downloadgdb-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/ChangeLog11
-rw-r--r--gdb/testsuite/gdb.mi/mi-nonstop-exit.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-nonstop.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-nsintrall.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-nsmoribund.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-nsthrexec.exp2
-rw-r--r--gdb/testsuite/lib/mi-support.exp4
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