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 35578ba6c4c1212c683dd8d8c058646c834019d8..d43c42a23638ce16f699db2c488030651171926b 100644 (file)
@@ -1,3 +1,14 @@
+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.
index 8493b4c0ec193dd80b1ff496751e3d6236acabae..ecaea7d6ec71a7c6ca9bcb63972ce191e6325aa0 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 ec88f02adb4bd40ae82df107eee69c3ce7888927..c1364eb0bb5d3601a7156deee321377cfd1d67fb 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 b8d5e4fc14333361e3a8fdb47db553b33fc737ed..f6bcb53da3d437ae47e03a30ac06548f2ed96e84 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 046063b20cf6a6c59f808b03d128a5e1b40fa710..f8a01a0124e5439fc9a0621f6c5582f2292df81e 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 1bf892008a6670f21687a551f5ab06ac57ff3468..286004b7b6386bfa152c357147132ff8b20e419e 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 06dd1d93c5b90e6719933ae3c10d139f6a778a1f..3968e627bfff152ae1cda17b6efdeaf4e6fab55b 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 e225e9fae2316c7baa52ad2439a5b6f14f7fb03e..c8ec00d0e85c16f48464a07229c698ca642425a8 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