This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH] Classify non-POD struct types more or less correctlyon AMD64


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? :-)

I'm guessing that this is what the x86-64 ABI was referring to, rather
than the actual term POD.

Yes.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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