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

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