+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.
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
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
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
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
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
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
}
}
- detect_async
+ mi_detect_async
return 0;
}
set async "unknown"
-proc detect_async {} {
+proc mi_detect_async {} {
global async
global mi_gdb_prompt