This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/7935] GDB doesn't know about namespace aliases
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 5 Feb 2010 19:04:04 -0000
- Subject: [Bug c++/7935] GDB doesn't know about namespace aliases
- References: <20021115135801.7935.carlton@math.stanford.edu>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-02-05 19:04 -------
Subject: Bug 7935
CVSROOT: /cvs/src
Module name: src
Changes by: swagiaal@sourceware.org 2010-02-05 19:03:42
Modified files:
gdb : ChangeLog cp-namespace.c cp-support.h
dwarf2read.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: nsusing.exp
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11330&r2=1.11331
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-namespace.c.diff?cvsroot=src&r1=1.33&r2=1.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-support.h.diff?cvsroot=src&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.354&r2=1.355
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2121&r2=1.2122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/nsusing.exp.diff?cvsroot=src&r1=1.2&r2=1.3
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7935
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.