| OLD | NEW |
| 1 # Copyright 1997-1999, 2003, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 1997-1999, 2003, 2007-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 global usestubs | |
| 21 | |
| 22 # | 16 # |
| 23 # test running programs | 17 # test running programs |
| 24 # | 18 # |
| 25 | 19 |
| 26 # This test exists solely to exercise the "section" command for | 20 # This test exists solely to exercise the "section" command for |
| 27 # code-coverage on HP-UX. (So far as I can tell, the "section" | 21 # code-coverage on HP-UX. (So far as I can tell, the "section" |
| 28 # command isn't needed on HP-UX, but probably is for embedded | 22 # command isn't needed on HP-UX, but probably is for embedded |
| 29 # apps.) | 23 # apps.) |
| 30 # | 24 # |
| 31 if ![istarget "hppa*-*-hpux*"] then { | 25 if ![istarget "hppa*-*-hpux*"] then { |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 gdb_expect { | 117 gdb_expect { |
| 124 -re "Section A2345678901234567890123456789012345678901234567890123456789012345
6789012345678901234567890123456789 not found\r\n$gdb_prompt $"\ | 118 -re "Section A2345678901234567890123456789012345678901234567890123456789012345
6789012345678901234567890123456789 not found\r\n$gdb_prompt $"\ |
| 125 {pass "non-existent too-long section disallowed"} | 119 {pass "non-existent too-long section disallowed"} |
| 126 -re "$gdb_prompt $"\ | 120 -re "$gdb_prompt $"\ |
| 127 {fail "non-existent too-long section disallowed"} | 121 {fail "non-existent too-long section disallowed"} |
| 128 timeout {fail "(timeout) non-existent too-long section disallowed"} | 122 timeout {fail "(timeout) non-existent too-long section disallowed"} |
| 129 } | 123 } |
| 130 | 124 |
| 131 gdb_exit | 125 gdb_exit |
| 132 return 0 | 126 return 0 |
| OLD | NEW |