[gdb/testsuite] Remove unused globals
[deliverable/binutils-gdb.git] / gdb / testsuite / config / sid.exp
index 073a0bb03d34c6a3dbec6abbe278be965adde59a..5e79823675c5789ee50245450b80b7307bd16abb 100644 (file)
@@ -1,5 +1,5 @@
 # Test Framework Driver for GDB driving an external simulator
-#   Copyright 1999-2016 Free Software Foundation, Inc.
+#   Copyright 1999-2020 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-load_lib gdb.exp
-
 proc sid_start {} {
-    global verbose
-
     set port [lindex [split [target_info netport] ":"] 1]
 
     # Set a default endianness
@@ -146,7 +142,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 +149,6 @@ proc gdb_target_sid { } {
        }
        timeout { 
            perror "Couldn't set target for remote simulator."
-           cleanup
            gdb_exit
        }
     }
This page took 0.024997 seconds and 4 git commands to generate.