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 debug/7078] debug info is not generated correctly with c++ namespaces are used


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


carlton@bactrian.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|11114                       |


------- Additional Comments From carlton@bactrian.org  2003-06-06 19:36 -------
This isn't the same as 11114: that bug is about DWARF 2, whereas this
bug is about stabs.  Exactly what stabs should do in the presence of
namespaces isn't clear (that might not be true, but frankly most of
us working on debug info just wish stabs would go away), but the problems
are unrelated.

There were some changes in GCC's stabs behavior between 2.95 and 3.x that
have a negative effect on how well GDB can debug C++ code: GCC started emitting
not-fully-qualified unmangled names instead of mangled names.  (So if you
have a namespace (or class?) C with a member x, then GCC just calls it 'x'
instead of the mangled name (which is what it used to do in 2.95) or 'C::x'
or anything that would actually give GDB an idea that it lives in 'C'.


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