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

Re: [PING*4] add support for dwarf AT_GNU_descriptive_type


> I would like to see how 'b' is currently described in DWARF
> and how you would propose changing it, so that I have a better
> understanding of why a debugger cannot print 'b' in detail.

The encoding of debug info generated by GNAT is entirely specified in the file 
src/gcc/ada/exp_dbug.ads.  It's quite complex but the main idea is that, when 
common[*] features of the debug info format aren't sufficient, the compiler 
emits additional types that convey the missing info using some encoding; GDB 
then does the decoding.

[*] we still support STABS so the encoding is mostly STABS/DWARF-agnostic.

-- 
Eric Botcazou


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