| OLD | NEW |
| 1 # Copyright 2003-2004, 2006, 2011-2012 Free Software Foundation, Inc. | 1 # Copyright 2003-2004, 2006, 2011-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 | 16 |
| 17 # This file tests C++-specific maintenance commands and help on those. | 17 # This file tests C++-specific maintenance commands and help on those. |
| 18 | 18 |
| 19 # Currently, no source file is used. | 19 # Currently, no source file is used. |
| 20 | 20 |
| 21 if $tracelevel then { | |
| 22 strace $tracelevel | |
| 23 } | |
| 24 | |
| 25 # Test the help messages. | 21 # Test the help messages. |
| 26 | 22 |
| 27 proc test_help {} { | 23 proc test_help {} { |
| 28 set first_component_help "Print the first class/namespace component of NAME" | 24 set first_component_help "Print the first class/namespace component of NAME" |
| 29 set namespace_help "Deprecated placeholder for removed functionality." | 25 set namespace_help "Deprecated placeholder for removed functionality." |
| 30 | 26 |
| 31 test_prefix_command_help {"maintenance cplus"} { | 27 test_prefix_command_help {"maintenance cplus"} { |
| 32 "C\\+\\+ maintenance commands\.\[\r\n\]+" | 28 "C\\+\\+ maintenance commands\.\[\r\n\]+" |
| 33 } | 29 } |
| 34 | 30 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 111 |
| 116 gdb_exit | 112 gdb_exit |
| 117 gdb_start | 113 gdb_start |
| 118 | 114 |
| 119 test_help | 115 test_help |
| 120 test_first_component | 116 test_first_component |
| 121 test_namespace | 117 test_namespace |
| 122 | 118 |
| 123 gdb_exit | 119 gdb_exit |
| 124 return 0 | 120 return 0 |
| OLD | NEW |