This is the mail archive of the gcc@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]

DWARF-2 and constructors/destructors


Suppose you want to call a (non-virtual) method in C++, from something
with Dwarf-2 info.  The only way to get the mangled name from the debug
info is DW_AT_MIPS_linkage_name.  This isn't, of course, present for
constructors/destructors, since the entry in the class definition is
for the abstract version.

Is it reasonable for the debugger to have to mangle this itself?  The
constructor arguments can be arbitrarily complex.  Should there be
references in the debug information to the base and complete
constructors anywhere?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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