diff options
author | Pedro Alves <palves@redhat.com> | 2014-03-19 15:22:44 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-03-19 15:22:44 +0000 |
commit | c30568d4d17d1a1efa62d2f36651fd0228b0b8e5 (patch) | |
tree | 8b27f94c9f338805e5a7c4a3434bbd745b5124f6 /gdb/testsuite/gdb.base | |
parent | 6caf711179d96da75860b79434bc792c92c0fa4c (diff) | |
download | gdb-c30568d4d17d1a1efa62d2f36651fd0228b0b8e5.zip gdb-c30568d4d17d1a1efa62d2f36651fd0228b0b8e5.tar.gz gdb-c30568d4d17d1a1efa62d2f36651fd0228b0b8e5.tar.bz2 |
gdb.base/async.exp: Leave gdb_protocol alone.
Many eons ago, async was only implemented in the remote target, and
you'd activate it by doing "target async" rather than "target remote".
That's long gone now, replaced by "set target-async on".
gdb/testsuite/
2014-03-19 Pedro Alves <palves@redhat.com>
* gdb.base/async.exp: Don't frob gdb_protocol.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/async.exp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index 3cd7dfb..1f465a6 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -36,15 +36,6 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { 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 -} - gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir @@ -129,12 +120,3 @@ gdb_expect { } gdb_test_no_output "set exec-done-display off" - -unset_board_info "gdb_protocol" -set_board_info "gdb_protocol" "remote" - - - - - - |