* gdb.base/async.exp: Whitespace fixes. Turn on target-async.
Fix spelling of exec-done-display.
This commit is contained in:
parent
1d09f4731b
commit
0172b6a7de
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue