Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / maint.exp
index 153bf7345550e1ef6c3da9cba55156c686429d90..4f192a2885651723666794aebd9e104349cfc713 100644 (file)
@@ -1,4 +1,4 @@
-# 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\]+"
@@ -62,7 +58,7 @@ proc test_first_component {} {
     # 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<<"
@@ -110,9 +106,7 @@ proc test_first_component {} {
 }
 
 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
This page took 0.024164 seconds and 4 git commands to generate.