This is the mail archive of the
mailing list for the GDB project.
Re: [rfc/rfa] accept DW_TAG_namespace and friends, possibly on 5.3
On Tue, 22 Oct 2002 19:07:36 -0400, Elena Zannoni <firstname.lastname@example.org> said:
> I think it can go in now.
Okay, I've committed it on trunch and branch. So now the way is clear
for appropriate patches to be added to GCC. (Maybe wait until 5.3 is
actually released so as not to piss off people who use CVS GCC for C++
without using CVS GDB.)
Daniel: one pitfall that I thought of regarding using directives is
that it looks like GCC internally behaves as if there's a using
directive after each anonymous namespace declaration. (Sensible
enough, since that's what the standard recommends.) In an ideal
world, it would be nice if no debugging information for those using
directives got emitted. That way, GDB can emit one internally itself
without having to worry about whether its internal name for the
anonymous namespace agrees with GCC's internal name for the anonymous
namespace. (In fact, versions of GDB on some branches already do
this!) You've probably thought of this already, but if not, I just
wanted to bring it up.