summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/nsusing.exp
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-03-15 17:29:36 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-03-15 17:29:36 +0000
commit13387711b26dfd93e5b00e529df30f0132ec38fd (patch)
tree1ba99c3985dc63eea2ec15eb5d6df734b4197b95 /gdb/testsuite/gdb.cp/nsusing.exp
parent6e31430b7070860436f93153ee1f8d832ca8b7ca (diff)
downloadbinutils-gdb-13387711b26dfd93e5b00e529df30f0132ec38fd.tar.gz
2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7936: * cp-support.h: Added char *declaration element to using_direct data struct. (cp_add_using): Added char *declaration argument. (cp_add_using_directive): Ditto. (cp_lookup_symbol_imports): made extern. * cp-namespace.c: Updated with the above changes. * dwarf2read.c (read_import_statement): Ditto. (read_namespace): Ditto. (read_import_statement): Support import declarations. * cp-namespace.c (cp_lookup_symbol_imports): Check for imported declarations. Added support for 'declaration_only' search. (cp_lookup_symbol_namespace): Attempt to search for the name as is before consideration of imports. * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only' search at every block level search. Now takes language argument. (lookup_symbol_aux): Updated. 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/shadow.exp: Removed kfail; test has been fix. * gdb.cp/nsusing.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.cp/nsusing.exp')
-rw-r--r--gdb/testsuite/gdb.cp/nsusing.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/nsusing.exp b/gdb/testsuite/gdb.cp/nsusing.exp
index 72a616e9be9..b060ee20f8c 100644
--- a/gdb/testsuite/gdb.cp/nsusing.exp
+++ b/gdb/testsuite/gdb.cp/nsusing.exp
@@ -154,7 +154,7 @@ if ![runto marker4] then {
perror "couldn't run to breakpoint marker4"
continue
}
-setup_kfail "gdb/7936" "*-*-*"
+
gdb_test "print dx" "= 4"
############################################