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