diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-02-05 19:03:42 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-02-05 19:03:42 +0000 |
commit | 82856980164673e7d71180ff67f14d96190b2b3c (patch) | |
tree | 5ad5cd6466108a37cc206930dd6b35dd657cc15a /gdb/testsuite/gdb.cp | |
parent | 1beeb6866d4f102b1a205391056e7ba4aa59fdd8 (diff) | |
download | gdb-82856980164673e7d71180ff67f14d96190b2b3c.zip gdb-82856980164673e7d71180ff67f14d96190b2b3c.tar.gz gdb-82856980164673e7d71180ff67f14d96190b2b3c.tar.bz2 |
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
* gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
* cp-support.h: Added char* alias element to using_direct data
struct.
(cp_add_using): Added char* alias argument.
(cp_add_using_directive): Ditto.
* cp-namespace.c: Updated with the above changes.
(cp_lookup_symbol_imports): Check for aliases.
* dwarf2read.c (read_import_statement): Figure out local alias
for the import and pass it on to cp_add_using.
(read_namespace): Pass alias argument to cp_add_using.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/nsusing.exp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.cp/nsusing.exp b/gdb/testsuite/gdb.cp/nsusing.exp index bd115c4..72a616e 100644 --- a/gdb/testsuite/gdb.cp/nsusing.exp +++ b/gdb/testsuite/gdb.cp/nsusing.exp @@ -116,14 +116,11 @@ if ![runto marker2] then { continue } -setup_kfail "gdb/7935" "*-*-*" gdb_test "print B::_a" "= 1" -setup_kfail "gdb/7935" "*-*-*" gdb_test "print _a" "No symbol \"_a\" in current context." \ "print _a in namespace alias scope" -setup_kfail "gdb/7935" "*-*-*" gdb_test "print x" "No symbol \"x\" in current context." \ "print x in namespace alias scope" |