-# Copyright 2003, 2004, 2006 Free Software Foundation Inc.
+# Copyright 2003-2016 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
# Currently, no source file is used.
-if $tracelevel then {
- strace $tracelevel
- }
-
# Test the help messages.
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\]+"
# The function in question might complain; make sure that we see
# all complaints.
- gdb_test "set complaints 1000" ""
+ gdb_test_no_output "set complaints 1000"
test_single_component "foo"
test_single_component "operator<<"
}
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