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

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