[PATCH] Classify non-POD struct types more or less correctly on AMD64
Daniel Jacobowitz
drow@mvista.com
Fri Mar 19 00:09:00 GMT 2004
On Tue, Mar 09, 2004 at 07:38:31PM -0800, Mark Mitchell wrote:
> Daniel Jacobowitz wrote:
>
> >I don't know if this sort of information should be in the dwarf2
> >information somehow. It definitely is in the C++ GNU v3 ABI:
> > http://www.codesourcery.com/cxx-abi/abi.html#calls
>
> I think it should definitely be encoded in DWARF2. (I don't know where;
> I just think it's a mistake for the debugger to be trying to figure this
> out for itself. The rules are pretty subtle, and may be different from
> architecture to architecture, or compiler release to compiler release,
> even, if we make an intentional change.)
>
> For stabs, you're probably hosed -- but then again, aren't you just
> generally hosed with stabs? :-)
Amen.
> >I'm guessing that this is what the x86-64 ABI was referring to, rather
> >than the actual term POD.
>
> Yes.
OK, thanks. I don't believe there is an appropriate existing tag for
this, so if we get sufficiently fed up with trying to guess, we'll have
to propose one :)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb-patches
mailing list