Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-06-02 Thread Joel Brobecker
> Thanks, I didn't know that. The proposal was certainly written with the > above and the description C11 in mind. One thing I wanted to make clear > was that a producer only needs to add the alignment if it is different > from the default alignment as used for the language and abi. And that > the

Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-05-28 Thread Joel Brobecker
Hi Mark, > I saw the submission deadline has officially passed, but I wanted to put > up a formal proposal anyway. If not accepted to DWARF5 I will first > implement it as a GNU extensions. But of course even in that case I > would like feedback to make sure the extension is as close as possible >

Re: [Dwarf-Discuss] About self-referencial sized types

2014-04-23 Thread Joel Brobecker
> > Just to address the gdb part -- the only reason this isn't implemented > > is that presumably no gdb developer has ever encountered a compiler that > > emits it. It shouldn't be hard to add should you need it. Please file > > a bug in gdb bugzilla. > > That's strange, for Fortran arrays GCC

Re: [Dwarf-Discuss] DW_TAG_enumeration with DW_AT_type and DW_AT_byte_size

2014-03-26 Thread Joel Brobecker
Hello, I asked our Ada gurus at AdaCore for some confirmation and here are Tuck's answers (who says "Hi Ron!" :-)): > Ada in particular defines enumeration types in a way such that they have, > in effect, a definite underlying base integer type. This affects some > details of type conversion betw

[Dwarf-Discuss] RFC: DW_OP_GNU_regval_type clarification

2013-10-29 Thread Joel Brobecker
Hello, I have a question regarding the DW_OP_GNU_regval_type operation. This is the only documentation I could find for this new operation: http://www.dwarfstd.org/doc/040408.1.html This is on powerpc, as part of a DW_AT_GNU_call_site_value attribute. The DIE in question is: .uleb12