aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-04-04 14:37:17 +0000
committerTom Tromey <tromey@redhat.com>2011-04-04 14:37:17 +0000
commit0c2e60193cf41ec57f62a5640ed67e4291e8f815 (patch)
tree02b54926226a2f2e91cbf57feabae5ab60e4de9f /gdb/testsuite
parent554d387d4cf36d63f004a5a10bee8d180a7af4e0 (diff)
downloadgdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.zip
gdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.tar.gz
gdb-0c2e60193cf41ec57f62a5640ed67e4291e8f815.tar.bz2
gdb
* symfile.c (reread_symbols): Update. * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove field. * objfiles.c (allocate_objfile): Update. * cp-support.h (cp_check_possible_namespace_symbols): Don't declare. * cp-namespace.c (lookup_symbol_file): Don't call lookup_possible_namespace_symbol. (initialize_namespace_symtab, get_possible_namespace_block) (free_namespace_block, cp_check_possible_namespace_symbols) (check_possible_namespace_symbols_loop) (check_one_possible_namespace_symbol) (lookup_possible_namespace_symbol): Remove. (maintenance_cplus_namespace): Replace with notice. (_initialize_cp_namespace): Deprecate `maint cplus namespace'. gdb/testsuite * gdb.cp/maint.exp (test_help): Update. (test_namespace): Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/maint.exp8
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