This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PUSHED 1/8] gdb.base/async.exp: Leave gdb_protocol alone.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 19 Mar 2014 15:57:54 +0000
- Subject: [PUSHED 1/8] gdb.base/async.exp: Leave gdb_protocol alone.
- Authentication-results: sourceware.org; auth=none
- References: <1395244681-24272-1-git-send-email-palves at redhat dot com>
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.
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.base/async.exp | 18 ------------------
2 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a7da03c..c1349b6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-19 Pedro Alves <palves@redhat.com>
+
+ * gdb.base/async.exp: Don't frob gdb_protocol.
+
2014-03-18 Doug Evans <xdje42@gmail.com>
* gdb.base/async.exp: Whitespace fixes. Turn on target-async.
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"
-
-
-
-
-
-
--
1.7.11.7