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