2011-08-09 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Tue, 9 Aug 2011 17:45:19 +0000 (17:45 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 9 Aug 2011 17:45:19 +0000 (17:45 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-nonstop-exit.exp
gdb/testsuite/gdb.mi/mi-nonstop.exp
gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp
gdb/testsuite/gdb.mi/mi-nsintrall.exp
gdb/testsuite/gdb.mi/mi-nsmoribund.exp
gdb/testsuite/gdb.mi/mi-nsthrexec.exp
gdb/testsuite/lib/mi-support.exp

index 35578ba..d43c42a 100644 (file)
@@ -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.
index 8493b4c..ecaea7d 100644 (file)
@@ -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
index ec88f02..c1364eb 100644 (file)
@@ -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
index b8d5e4f..f6bcb53 100644 (file)
@@ -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
index 046063b..f8a01a0 100644 (file)
@@ -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
index 1bf8920..286004b 100644 (file)
@@ -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
index 06dd1d9..3968e62 100644 (file)
@@ -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
index e225e9f..c8ec00d 100644 (file)
@@ -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