how to support C type qualifiers applied to arrays?

Joseph S. Myers joseph@codesourcery.com
Mon Nov 27 23:45:00 GMT 2006


On Mon, 27 Nov 2006, Daniel Jacobowitz wrote:

> On Mon, Nov 27, 2006 at 02:42:12PM -0800, Gary Funck wrote:
> > Q: Is GCC generating an inaccurate DWARF 2 representation
> > to describe a qualified array type, or is GDB not
> > interpreting the DWARF 2 information correctly?
> 
> I will defer to experts on this but I believe GCC is incorrect.

Specifically, GCC bug 8354 (all the patch links in that bug are broken: 
GCC bug 20588: so refer to the mbox archives, but there isn't anything 
much worthwhile in the patch referenced) deals with the DWARF 2 
information for arrays and type qualifiers.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gdb mailing list