This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]