2017-12-10 22:00:49 +00:00
|
|
|
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
2017-12-04 19:24:00 +00:00
|
|
|
From: Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
Date: Fri, 27 Oct 2017 21:07:50 +0200
|
|
|
|
Subject: gdb-6.3-test-self-20050110.patch
|
|
|
|
|
|
|
|
FileName: gdb-6.3-test-self-20050110.patch
|
|
|
|
|
2017-12-08 04:31:26 +00:00
|
|
|
;; Get selftest working with sep-debug-info
|
|
|
|
;;=fedoratest
|
|
|
|
|
2005-01-11 01:07:18 +00:00
|
|
|
2004-02-23 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
* gdb.gdb/selftest.exp: Make sure that the debug directory is
|
|
|
|
set up properly.
|
|
|
|
* gdb.gdb/complaints.exp: Ditto.
|
|
|
|
* gdb.gdb/xfullpath.exp: Ditto.
|
|
|
|
* gdb.gdb/observer.exp: Ditto.
|
2017-12-08 04:31:26 +00:00
|
|
|
---
|
|
|
|
gdb/testsuite/lib/selftest-support.exp | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
2005-01-11 01:07:18 +00:00
|
|
|
|
2017-12-08 04:31:26 +00:00
|
|
|
diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp
|
|
|
|
index 798d19dd89..e26e095b17 100644
|
|
|
|
--- a/gdb/testsuite/lib/selftest-support.exp
|
|
|
|
+++ b/gdb/testsuite/lib/selftest-support.exp
|
|
|
|
@@ -156,18 +156,18 @@ proc do_self_tests {function body} {
|
2014-02-07 18:38:14 +00:00
|
|
|
}
|
2013-08-02 20:26:03 +00:00
|
|
|
|
|
|
|
# Remove any old copy lying around.
|
2014-02-07 18:38:14 +00:00
|
|
|
- remote_file host delete $xgdb
|
|
|
|
+ #remote_file host delete $xgdb
|
2013-08-02 20:26:03 +00:00
|
|
|
|
|
|
|
gdb_start
|
2014-02-07 18:38:14 +00:00
|
|
|
- set file [remote_download host $GDB_FULLPATH $xgdb]
|
|
|
|
+ #set file [remote_download host $GDB_FULLPATH $xgdb]
|
2013-08-02 20:26:03 +00:00
|
|
|
|
|
|
|
- set result [selftest_setup $file $function]
|
|
|
|
+ set result [selftest_setup $GDB_FULLPATH $function]
|
|
|
|
if {$result == 0} then {
|
|
|
|
set result [uplevel $body]
|
|
|
|
}
|
|
|
|
|
|
|
|
gdb_exit
|
|
|
|
- catch "remote_file host delete $file"
|
|
|
|
+ #catch "remote_file host delete $file"
|
|
|
|
|
|
|
|
if {$result < 0} then {
|
|
|
|
warning "Couldn't test self"
|
2017-12-08 04:31:26 +00:00
|
|
|
--
|
|
|
|
2.14.3
|
|
|
|
|