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