OLD | NEW |
1 # Copyright 2008, 2010-2012 Free Software Foundation, Inc. | 1 # Copyright 2008, 2010-2012 Free Software Foundation, Inc. |
2 | 2 |
3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
6 # (at your option) any later version. | 6 # (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
12 # | 12 # |
13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 |
16 if $tracelevel then { | |
17 strace $tracelevel | |
18 } | |
19 | |
20 if [target_info exists gdb,noinferiorio] { | 16 if [target_info exists gdb,noinferiorio] { |
21 verbose "Skipping unwindonsignal.exp because of no fileio capabilities." | 17 verbose "Skipping unwindonsignal.exp because of no fileio capabilities." |
22 continue | 18 continue |
23 } | 19 } |
24 | 20 |
25 if [target_info exists gdb,nosignals] { | 21 if [target_info exists gdb,nosignals] { |
26 verbose "Skipping unwindonsignal.exp because of nosignals." | 22 verbose "Skipping unwindonsignal.exp because of nosignals." |
27 continue | 23 continue |
28 } | 24 } |
29 | 25 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "unwindonsignal, dummy frame removed" { | 88 "unwindonsignal, dummy frame removed" { |
93 -re "\[\r\n\]*.*stack=.*code=.*\[\r\n\]+$gdb_prompt $" { | 89 -re "\[\r\n\]*.*stack=.*code=.*\[\r\n\]+$gdb_prompt $" { |
94 fail "unwindonsignal, dummy frame removed" | 90 fail "unwindonsignal, dummy frame removed" |
95 } | 91 } |
96 -re "\[\r\n\]+$gdb_prompt $" { | 92 -re "\[\r\n\]+$gdb_prompt $" { |
97 pass "unwindonsignal, dummy frame removed" | 93 pass "unwindonsignal, dummy frame removed" |
98 } | 94 } |
99 } | 95 } |
100 | 96 |
101 return 0 | 97 return 0 |
OLD | NEW |