aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-03-18 19:19:51 -0400
committerDoug Evans <xdje42@gmail.com>2014-03-18 19:19:51 -0400
commit0172b6a7deca953ff33b4458da2f4e666bee7e51 (patch)
tree0c00cf57d32e21570defc3a0513e661eaa628f6f /gdb/testsuite
parent1d09f4731b514c2e9b352639329a82189e0590ff (diff)
downloadgdb-0172b6a7deca953ff33b4458da2f4e666bee7e51.zip
gdb-0172b6a7deca953ff33b4458da2f4e666bee7e51.tar.gz
gdb-0172b6a7deca953ff33b4458da2f4e666bee7e51.tar.bz2
* gdb.base/async.exp: Whitespace fixes. Turn on target-async.
Fix spelling of exec-done-display.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/async.exp16
2 files changed, 14 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 91f1cf3..a7da03c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-18 Doug Evans <xdje42@gmail.com>
+
+ * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
+ Fix spelling of exec-done-display.
+
2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/15358
diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp
index 4475ce7..3cd7dfb 100644
--- a/gdb/testsuite/gdb.base/async.exp
+++ b/gdb/testsuite/gdb.base/async.exp
@@ -39,17 +39,19 @@ return 0
set board [target_info name]
set current_target [target_info gdb_protocol]
if { $current_target == "remote" } {
- unset_board_info "gdb_protocol"
- set_board_info "gdb_protocol" "async"
- } else {
- return 0
- }
+ unset_board_info "gdb_protocol"
+ set_board_info "gdb_protocol" "async"
+} else {
+ return 0
+}
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+gdb_test_no_output "set target-async on"
+
#
# set it up at a breakpoint so we can play with it
#
@@ -63,7 +65,7 @@ gdb_test "break baz" ".*" ""
#
# Make sure we get a 'completed' message when the target is done.
#
-gdb_test "set display-exec-done on" ".*" ""
+gdb_test_no_output "set exec-done-display on"
send_gdb "next&\n"
@@ -126,7 +128,7 @@ gdb_expect {
timeout { fail "(timeout) until &" }
}
-gdb_test "set display-exec-done off" ".*" ""
+gdb_test_no_output "set exec-done-display off"
unset_board_info "gdb_protocol"
set_board_info "gdb_protocol" "remote"