Blame SOURCES/gdb-6.3-test-self-20050110.patch

4c2ad1
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
4c2ad1
From: Elena Zannoni <ezannoni@redhat.com>
4c2ad1
Date: Fri, 27 Oct 2017 21:07:50 +0200
4c2ad1
Subject: gdb-6.3-test-self-20050110.patch
4c2ad1
4c2ad1
;; Get selftest working with sep-debug-info
4c2ad1
;;=fedoratest
4c2ad1
4c2ad1
2004-02-23  Elena Zannoni  <ezannoni@redhat.com>
4c2ad1
4c2ad1
        * gdb.gdb/selftest.exp: Make sure that the debug directory is
4c2ad1
        set up properly.
4c2ad1
        * gdb.gdb/complaints.exp: Ditto.
4c2ad1
        * gdb.gdb/xfullpath.exp: Ditto.
4c2ad1
        * gdb.gdb/observer.exp: Ditto.
4c2ad1
4c2ad1
diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp
4c2ad1
--- a/gdb/testsuite/lib/selftest-support.exp
4c2ad1
+++ b/gdb/testsuite/lib/selftest-support.exp
4c2ad1
@@ -151,18 +151,18 @@ proc do_self_tests {function body} {
4c2ad1
     }
4c2ad1
 
4c2ad1
     # Remove any old copy lying around.
4c2ad1
-    remote_file host delete $xgdb
4c2ad1
+    #remote_file host delete $xgdb
4c2ad1
 
4c2ad1
     gdb_start
4c2ad1
-    set file [remote_download host $GDB_FULLPATH $xgdb]
4c2ad1
+    #set file [remote_download host $GDB_FULLPATH $xgdb]
4c2ad1
 
4c2ad1
-    set result [selftest_setup $file $function]
4c2ad1
+    set result [selftest_setup $GDB_FULLPATH $function]
4c2ad1
     if {$result == 0} then {
4c2ad1
 	set result [uplevel $body]
4c2ad1
     }
4c2ad1
 
4c2ad1
     gdb_exit
4c2ad1
-    catch "remote_file host delete $file"
4c2ad1
+    #catch "remote_file host delete $file"
4c2ad1
 
4c2ad1
     if {$result < 0} then {
4c2ad1
 	warning "Couldn't test self"