42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
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
|
|
|
|
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.
|
|
|
|
Index: gdb-7.6.90.20140127/gdb/testsuite/lib/selftest-support.exp
|
|
===================================================================
|
|
--- gdb-7.6.90.20140127.orig/gdb/testsuite/lib/selftest-support.exp 2014-01-27 22:42:04.022535966 +0100
|
|
+++ gdb-7.6.90.20140127/gdb/testsuite/lib/selftest-support.exp 2014-01-27 22:42:42.630565675 +0100
|
|
@@ -136,18 +136,18 @@ proc do_self_tests {function body} {
|
|
}
|
|
|
|
# Remove any old copy lying around.
|
|
- remote_file host delete $xgdb
|
|
+ #remote_file host delete $xgdb
|
|
|
|
gdb_start
|
|
- set file [remote_download host $GDB_FULLPATH $xgdb]
|
|
+ #set file [remote_download host $GDB_FULLPATH $xgdb]
|
|
|
|
- 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"
|