aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2018-02-02 12:51:10 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2018-02-03 16:56:04 +0000
commitf721678315fc6bbec25341bd616a906976d72693 (patch)
tree725742d47ba0efec14bbd2cbba05939c7ee06ad6 /gdb
parentb0daac83d78c82f7998287bb717063c4d01d4f97 (diff)
downloadgdb-f721678315fc6bbec25341bd616a906976d72693.zip
gdb-f721678315fc6bbec25341bd616a906976d72693.tar.gz
gdb-f721678315fc6bbec25341bd616a906976d72693.tar.bz2
gdb/testsuite: Remove use of dejagnu cleanup proc
The 'cleanup' proc has been removed from dejagnu (Feb 15 2016). The proc has not done anything useful since at least 2001 so removing these calls should be harmless. gdb/testsuite/ChangeLog: * config/sid.exp (gdb_target_sid): Remove use of cleanup. * config/sim.exp (gdb_target_sim): Remove use of cleanup.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/config/sid.exp2
-rw-r--r--gdb/testsuite/config/sim.exp1
3 files changed, 5 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0251584..0af50b0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * config/sid.exp (gdb_target_sid): Remove use of cleanup.
+ * config/sim.exp (gdb_target_sim): Remove use of cleanup.
+
2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
Leszek Swirski <leszeks@google.com>
diff --git a/gdb/testsuite/config/sid.exp b/gdb/testsuite/config/sid.exp
index 36bd861..8ff0263 100644
--- a/gdb/testsuite/config/sid.exp
+++ b/gdb/testsuite/config/sid.exp
@@ -146,7 +146,6 @@ proc gdb_target_sid { } {
gdb_expect {
-re ".*\[Ee\]rror.*$gdb_prompt $" {
perror "Couldn't set target for remote simulator."
- cleanup
gdb_exit
}
-re "Remote debugging using.*$gdb_prompt" {
@@ -154,7 +153,6 @@ proc gdb_target_sid { } {
}
timeout {
perror "Couldn't set target for remote simulator."
- cleanup
gdb_exit
}
}
diff --git a/gdb/testsuite/config/sim.exp b/gdb/testsuite/config/sim.exp
index 7170a25..d9072fe 100644
--- a/gdb/testsuite/config/sim.exp
+++ b/gdb/testsuite/config/sim.exp
@@ -34,7 +34,6 @@ proc gdb_target_sim { } {
}
timeout {
perror "Couldn't set target for simulator."
- cleanup
return -1
}
}