OLD | NEW |
1 # Copyright 1999-2002, 2004-2005, 2007-2012 Free Software Foundation, | 1 # Copyright 1999-2013 Free Software Foundation, Inc. |
2 # Inc. | |
3 | 2 |
4 # 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 |
5 # 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 |
6 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
7 # (at your option) any later version. | 6 # (at your option) any later version. |
8 # | 7 # |
9 # 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, |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
13 # | 12 # |
14 # 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 |
15 # 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/>. |
16 | 15 |
17 # Test Machine interface (MI) operations | 16 # Test Machine interface (MI) operations |
| 17 # |
18 # Verify that, using the MI, we can run a simple program and perform | 18 # Verify that, using the MI, we can run a simple program and perform |
19 # exec-return. | 19 # exec-return. |
20 | |
21 # The goal is not to | |
22 # test gdb functionality, which is done by other tests, but to verify | |
23 # the correct output response to MI operations. | |
24 # | 20 # |
| 21 # The goal is not to test gdb functionality, which is done by other |
| 22 # tests, but to verify the correct output response to MI operations. |
25 | 23 |
26 load_lib mi-support.exp | 24 load_lib mi-support.exp |
27 set MIFLAGS "-i=mi" | 25 set MIFLAGS "-i=mi" |
28 | 26 |
29 gdb_exit | 27 gdb_exit |
30 if [mi_gdb_start] { | 28 if [mi_gdb_start] { |
31 continue | 29 continue |
32 } | 30 } |
33 | 31 |
34 standard_testfile basics.c | 32 standard_testfile basics.c |
(...skipping 23 matching lines...) Expand all Loading... |
58 mi_runto callee4 | 56 mi_runto callee4 |
59 | 57 |
60 mi_gdb_test "205-break-delete" \ | 58 mi_gdb_test "205-break-delete" \ |
61 "205\\^done.*" \ | 59 "205\\^done.*" \ |
62 "delete all breakpoints" | 60 "delete all breakpoints" |
63 | 61 |
64 test_return_simple | 62 test_return_simple |
65 | 63 |
66 mi_gdb_exit | 64 mi_gdb_exit |
67 return 0 | 65 return 0 |
OLD | NEW |