]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - gdb/patches/gdb-6.3-test-self-20050110.patch
gdb: Update to 7.3.50.20110722.
[people/amarx/ipfire-3.x.git] / gdb / patches / gdb-6.3-test-self-20050110.patch
1 2004-02-23 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.gdb/selftest.exp: Make sure that the debug directory is
4 set up properly.
5 * gdb.gdb/complaints.exp: Ditto.
6 * gdb.gdb/xfullpath.exp: Ditto.
7 * gdb.gdb/observer.exp: Ditto.
8
9 Index: gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/complaints.exp
10 ===================================================================
11 --- gdb-6.8.50.20090226.orig/gdb/testsuite/gdb.gdb/complaints.exp 2009-01-03 06:58:04.000000000 +0100
12 +++ gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/complaints.exp 2009-02-26 22:10:48.000000000 +0100
13 @@ -302,13 +302,13 @@ proc find_gdb { arg } {
14 set GDB_FULLPATH [find_gdb $GDB]
15
16 # Remove any old copy lying around.
17 -remote_file host delete x$tool
18 +#remote_file host delete x$tool
19
20 gdb_start
21
22 -set file [remote_download host $GDB_FULLPATH x$tool]
23 +#set file [remote_download host $GDB_FULLPATH x$tool]
24
25 -set setup_result [setup_test $file ]
26 +set setup_result [setup_test $GDB_FULLPATH ]
27 if {$setup_result <0} then {
28 return -1
29 }
30 @@ -319,4 +319,4 @@ test_short_complaints
31 test_empty_complaints
32
33 gdb_exit;
34 -catch "remote_file host delete $file";
35 +#catch "remote_file host delete $file";
36 Index: gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/observer.exp
37 ===================================================================
38 --- gdb-6.8.50.20090226.orig/gdb/testsuite/gdb.gdb/observer.exp 2009-02-17 20:52:27.000000000 +0100
39 +++ gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/observer.exp 2009-02-26 22:11:40.000000000 +0100
40 @@ -258,13 +258,13 @@ proc find_gdb { arg } {
41 set GDB_FULLPATH [find_gdb $GDB]
42
43 # Remove any old copy lying around.
44 -remote_file host delete x$tool
45 +#remote_file host delete x$tool
46
47 gdb_start
48 -set file [remote_download host $GDB_FULLPATH x$tool]
49 -set result [test_observer $file];
50 +#set file [remote_download host $GDB_FULLPATH x$tool]
51 +set result [test_observer $GDB_FULLPATH];
52 gdb_exit;
53 -catch "remote_file host delete $file";
54 +#catch "remote_file host delete $file";
55
56 if {$result <0} then {
57 warning "Couldn't test self"
58 Index: gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/selftest.exp
59 ===================================================================
60 --- gdb-6.8.50.20090226.orig/gdb/testsuite/gdb.gdb/selftest.exp 2009-02-26 22:09:59.000000000 +0100
61 +++ gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/selftest.exp 2009-02-26 22:10:48.000000000 +0100
62 @@ -551,13 +551,13 @@ proc find_gdb { arg } {
63 set GDB_FULLPATH [find_gdb $GDB]
64
65 # Remove any old copy lying around.
66 -remote_file host delete x$tool
67 +#remote_file host delete x$tool
68
69 gdb_start
70 -set file [remote_download host $GDB_FULLPATH x$tool]
71 -set result [test_with_self $file];
72 +#set file [remote_download host $GDB_FULLPATH x$tool]
73 +set result [test_with_self $GDB_FULLPATH];
74 gdb_exit;
75 -catch "remote_file host delete $file";
76 +#catch "remote_file host delete $file";
77
78 if {$result <0} then {
79 warning "Couldn't test self"
80 Index: gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/xfullpath.exp
81 ===================================================================
82 --- gdb-6.8.50.20090226.orig/gdb/testsuite/gdb.gdb/xfullpath.exp 2009-01-03 06:58:04.000000000 +0100
83 +++ gdb-6.8.50.20090226/gdb/testsuite/gdb.gdb/xfullpath.exp 2009-02-26 22:10:48.000000000 +0100
84 @@ -179,13 +179,13 @@ proc find_gdb { arg } {
85 set GDB_FULLPATH [find_gdb $GDB]
86
87 # Remove any old copy lying around.
88 -remote_file host delete x$tool
89 +#remote_file host delete x$tool
90
91 gdb_start
92 -set file [remote_download host $GDB_FULLPATH x$tool]
93 -set result [test_with_self $file];
94 +#set file [remote_download host $GDB_FULLPATH x$tool]
95 +set result [test_with_self $GDB_FULLPATH];
96 gdb_exit;
97 -catch "remote_file host delete $file";
98 +#catch "remote_file host delete $file";
99
100 if {$result <0} then {
101 warning "Couldn't test self"