From: Doug Evans Date: Tue, 18 Mar 2014 23:19:51 +0000 (-0400) Subject: * gdb.base/async.exp: Whitespace fixes. Turn on target-async. X-Git-Tag: gdb-7.8-release~796 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0172b6a7deca953ff33b4458da2f4e666bee7e51;p=platform%2Fupstream%2Fbinutils.git * gdb.base/async.exp: Whitespace fixes. Turn on target-async. Fix spelling of exec-done-display. --- 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 + + * gdb.base/async.exp: Whitespace fixes. Turn on target-async. + Fix spelling of exec-done-display. + 2014-03-18 Jan Kratochvil 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"