OLD | NEW |
1 # Copyright 1998-1999, 2001, 2003-2004, 2007-2012 Free Software | 1 # Copyright 1998-1999, 2001, 2003-2004, 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 Elena Zannoni. (ezannoni@cygnus.com) | 17 # This file was written by Elena Zannoni. (ezannoni@cygnus.com) |
18 | 18 |
19 if $tracelevel then { | |
20 strace $tracelevel | |
21 } | |
22 | |
23 global usestubs | |
24 | |
25 | 19 |
26 # | 20 # |
27 # test running programs | 21 # test running programs |
28 # | 22 # |
29 | 23 |
30 set testfile "break" | 24 set testfile "break" |
31 set srcfile ${testfile}.c | 25 set srcfile ${testfile}.c |
32 set srcfile1 ${testfile}1.c | 26 set srcfile1 ${testfile}1.c |
33 set binfile ${objdir}/${subdir}/${testfile} | 27 set binfile ${objdir}/${subdir}/${testfile} |
34 | 28 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 } | 280 } |
287 | 281 |
288 gdb_test_multiple "set prompt \\(gdb\\) " "reset gdb_prompt" { | 282 gdb_test_multiple "set prompt \\(gdb\\) " "reset gdb_prompt" { |
289 -re "$gdb_prompt $" { | 283 -re "$gdb_prompt $" { |
290 pass "reset gdb_prompt" | 284 pass "reset gdb_prompt" |
291 } | 285 } |
292 } | 286 } |
293 | 287 |
294 gdb_exit | 288 gdb_exit |
295 return 0 | 289 return 0 |
OLD | NEW |