This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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++/8239] can't demangle V2 nested anonymous namespaces


------- Additional Comments From keiths at redhat dot com  2010-03-12 19:49 -------
The mangled name for C::cX has changed considerably since 2.95 (which is almost
ten years old). For GCC 3.4.6, it is
"_ZN1C33_GLOBAL__N_t.cc_00000000_EA8E25492cXE" and for GCC 4.4.1 it is
"_ZN1C12_GLOBAL__N_12cXE".

In either case, though, GDB 6.8 can demangle both of these strings, so I am
closing this bug. 

By the way, it is unclear from your example whether you loaded the example
application or not. You must make sure that the language is set to "c++" before
attempting to call "maint demangle". You can do that by either loading a c++ app
to debug or typing "set language c++".

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME


http://sourceware.org/bugzilla/show_bug.cgi?id=8239

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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