OLD | NEW |
1 # Copyright 1997-1998, 2001-2004, 2007-2012 Free Software Foundation, | 1 # Copyright 1997-1998, 2001-2004, 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 was written by Michael Snyder (msnyder@cygnus.com) | 17 # This file was written by Michael Snyder (msnyder@cygnus.com) |
18 | 18 |
19 if $tracelevel then { | |
20 strace $tracelevel | |
21 } | |
22 | |
23 # | 19 # |
24 # test running programs | 20 # test running programs |
25 # | 21 # |
26 | 22 |
27 | 23 |
28 set data_overlays 1 | 24 set data_overlays 1 |
29 | 25 |
30 if [istarget "d10v-*-*"] then { | 26 if [istarget "d10v-*-*"] then { |
31 set linker_script "${srcdir}/${subdir}/d10v.ld"; | 27 set linker_script "${srcdir}/${subdir}/d10v.ld"; |
32 } elseif [istarget "m32r-*-*"] then { | 28 } elseif [istarget "m32r-*-*"] then { |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 timeout { fail "(timeout) hit grbx" } | 300 timeout { fail "(timeout) hit grbx" } |
305 } | 301 } |
306 | 302 |
307 send_gdb "backtrace\n" | 303 send_gdb "backtrace\n" |
308 gdb_expect { | 304 gdb_expect { |
309 -re "#0 .*grbx .*#1 .*main .*$gdb_prompt $" { pass "BT grbx" } | 305 -re "#0 .*grbx .*#1 .*main .*$gdb_prompt $" { pass "BT grbx" } |
310 -re ".*$gdb_prompt $" { fail "BT grbx" } | 306 -re ".*$gdb_prompt $" { fail "BT grbx" } |
311 timeout { fail "(timeout) BT grbx" } | 307 timeout { fail "(timeout) BT grbx" } |
312 } | 308 } |
313 | 309 |
OLD | NEW |