diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/maint.exp | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9723a04..9ae251b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-04 Tom Tromey <tromey@redhat.com> + + * gdb.cp/maint.exp (test_help): Update. + (test_namespace): Likewise. + 2011-04-01 Joel Brobecker <brobecker@adacore.com> * gdb.ada/arrayptr/foo.adb: Add access to constrained array. diff --git a/gdb/testsuite/gdb.cp/maint.exp b/gdb/testsuite/gdb.cp/maint.exp index ea7111d..41c12a6 100644 --- a/gdb/testsuite/gdb.cp/maint.exp +++ b/gdb/testsuite/gdb.cp/maint.exp @@ -1,4 +1,4 @@ -# 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 @@ -26,7 +26,7 @@ if $tracelevel then { 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\]+" @@ -110,9 +110,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 |