OLD | NEW |
1 # Copyright 2006-2012 Free Software Foundation, Inc. | 1 # Copyright 2006-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 { | |
17 strace $tracelevel | |
18 } | |
19 | |
20 gdb_exit | 16 gdb_exit |
21 gdb_start | 17 gdb_start |
22 gdb_reinitialize_dir $srcdir/$subdir | 18 gdb_reinitialize_dir $srcdir/$subdir |
23 | 19 |
24 # Do a bunch of testing of the set/unset/show substitute-path | 20 # Do a bunch of testing of the set/unset/show substitute-path |
25 # commands that do not require the presence of an executable. | 21 # commands that do not require the presence of an executable. |
26 | 22 |
27 gdb_test_no_output "set confirm off" \ | 23 gdb_test_no_output "set confirm off" \ |
28 "deactivate GDB's confirmation interface" | 24 "deactivate GDB's confirmation interface" |
29 | 25 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 "show substitute-path after empty rule removed" | 123 "show substitute-path after empty rule removed" |
128 | 124 |
129 gdb_test_no_output "unset substitute-path" \ | 125 gdb_test_no_output "unset substitute-path" \ |
130 "remove all remaining substitution rules" | 126 "remove all remaining substitution rules" |
131 | 127 |
132 gdb_test "show substitute-path" \ | 128 gdb_test "show substitute-path" \ |
133 "List of all source path substitution rules:" \ | 129 "List of all source path substitution rules:" \ |
134 "show substitute-path after all remaining rules removed" | 130 "show substitute-path after all remaining rules removed" |
135 | 131 |
136 | 132 |
OLD | NEW |