OLD | NEW |
1 # Copyright 1992-2000, 2004-2005, 2007-2012 Free Software Foundation, | 1 # Copyright 1992-2000, 2004-2005, 2007-2012 Free Software Foundation, |
2 # Inc. | 2 # 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 is based on corefile.exp which was written by Fred | 17 # This file is based on corefile.exp which was written by Fred |
18 # Fish. (fnf@cygnus.com) | 18 # Fish. (fnf@cygnus.com) |
19 | 19 |
20 if $tracelevel then { | |
21 strace $tracelevel | |
22 } | |
23 | |
24 | 20 |
25 # Are we on a target board? As of 2004-02-12, GDB didn't have a | 21 # Are we on a target board? As of 2004-02-12, GDB didn't have a |
26 # mechanism that would let it efficiently access a remote corefile. | 22 # mechanism that would let it efficiently access a remote corefile. |
27 | 23 |
28 if ![isnative] then { | 24 if ![isnative] then { |
29 untested "Remote system" | 25 untested "Remote system" |
30 return | 26 return |
31 } | 27 } |
32 | 28 |
33 # Can the system run this test (in particular support sparse | 29 # Can the system run this test (in particular support sparse |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 timeout { | 234 timeout { |
239 fail "$test (timeout)" | 235 fail "$test (timeout)" |
240 set ok 0 | 236 set ok 0 |
241 } | 237 } |
242 } | 238 } |
243 } | 239 } |
244 } | 240 } |
245 | 241 |
246 check_heap next $next_heap | 242 check_heap next $next_heap |
247 check_heap prev $prev_heap | 243 check_heap prev $prev_heap |
OLD | NEW |