OLD | NEW |
1 # Copyright 1992, 1994-1997, 1999-2000, 2007-2012 Free Software | 1 # Copyright 1992, 1994-1997, 1999-2000, 2007-2012 Free Software |
2 # Foundation, Inc. | 2 # Foundation, Inc. |
3 | 3 |
4 # This program is free software; you can redistribute it and/or modify | 4 # This program is free software; you can redistribute it and/or modify |
5 # it under the terms of the GNU General Public License as published by | 5 # it under the terms of the GNU General Public License as published by |
6 # the Free Software Foundation; either version 3 of the License, or | 6 # the Free Software Foundation; either version 3 of the License, or |
7 # (at your option) any later version. | 7 # (at your option) any later version. |
8 # | 8 # |
9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 # GNU General Public License for more details. | 12 # GNU General Public License for more details. |
13 # | 13 # |
14 # You should have received a copy of the GNU General Public License | 14 # You should have received a copy of the GNU General Public License |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 # This file was written by Jeff Law. (law@cs.utah.edu) | 17 # This file was written by Jeff Law. (law@cs.utah.edu) |
18 | 18 |
19 if $tracelevel then { | |
20 strace $tracelevel | |
21 } | |
22 | |
23 | 19 |
24 set testfile "recurse" | 20 set testfile "recurse" |
25 set srcfile ${testfile}.c | 21 set srcfile ${testfile}.c |
26 set binfile ${objdir}/${subdir}/${testfile} | 22 set binfile ${objdir}/${subdir}/${testfile} |
27 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug}] != "" } { | 23 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug}] != "" } { |
28 untested recurse.exp | 24 untested recurse.exp |
29 return -1 | 25 return -1 |
30 } | 26 } |
31 | 27 |
32 # Start with a fresh gdb. | 28 # Start with a fresh gdb. |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 set oldtimeout $timeout | 150 set oldtimeout $timeout |
155 set timeout [expr "$timeout + 60"] | 151 set timeout [expr "$timeout + 60"] |
156 verbose "Timeout is now $timeout seconds" 2 | 152 verbose "Timeout is now $timeout seconds" 2 |
157 | 153 |
158 recurse_tests | 154 recurse_tests |
159 | 155 |
160 # Restore the preserved old timeout value. | 156 # Restore the preserved old timeout value. |
161 set timeout $oldtimeout | 157 set timeout $oldtimeout |
162 verbose "Timeout is now $timeout seconds" 2 | 158 verbose "Timeout is now $timeout seconds" 2 |
163 | 159 |
OLD | NEW |