[Bug c++/37590] g++ should emit different debug info for variable's type

dodji at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 21 13:29:00 GMT 2008



------- Comment #4 from dodji at gcc dot gnu dot org  2008-09-21 13:28 -------
What if gcc always outputs the fully qualified type name ?

Today's DWARF supports the DW_TAG_imported_module tag that should let the
debugger know that a "using namespace std;" was present in the lexical block
enclosing the variable declaration that we are considering.

So with those two pieces of informations (fully qualified type name and the
using directive), I believe the debugger should be able to display the correct
thing to the user.

Woud that make sense ?


-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37590



More information about the Gcc-bugs mailing list