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