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

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