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
|
|
|
|
|
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.
|
|
|
|
|
2014-02-07 18:38:14 +00:00
|
|
|
Index: gdb-7.6.90.20140127/gdb/testsuite/lib/selftest-support.exp
|
2009-03-02 00:11:35 +00:00
|
|
|
===================================================================
|
2014-02-07 18:38:14 +00:00
|
|
|
--- 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} {
|
|
|
|
}
|
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"
|