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


Eric Botcazou wrote:
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.

I'm interested in seeing the DWARF which is generated for the specific example and what would be generated with the patch.


-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077


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