-# Copyright 2003, 2004, 2006 Free Software Foundation Inc.
+# Copyright 2003, 2004, 2006, 2011 Free Software Foundation Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
proc test_help {} {
set first_component_help "Print the first class/namespace component of NAME"
- set namespace_help "Print the list of possible C\\+\\+ namespaces"
+ set namespace_help "Deprecated placeholder for removed functionality."
test_prefix_command_help {"maintenance cplus"} {
"C\\+\\+ maintenance commands\.\[\r\n\]+"
}
proc test_namespace {} {
- # There's not a lot we can do to test this.
-
- gdb_test "maint cp namespace" "Possible namespaces:"
+ gdb_test "maint cp namespace" "The `maint namespace' command was removed."
}
gdb_exit