Question about DW_AT_variable_parameter in dwarf2read.c

Andrew Gontarek
Wed Aug 31 21:20:00 GMT 2011

I am running into an issue with the latest cvs trunk of gdb and the way it
interprets the DW_AT_variable_parameter attribute inside of a
DW_TAG_formal_parameter. Currently, dwarf2read will check for the presence of
DW_AT_variable_parameter, and if set to 1, it marks the symbol as a reference
type. This seems wrong to me. The dwarf standard does not say that the presence
of DW_AT_variable_parameter means that the type must be a reference type. Is the
way gdb is interpreting the presence of this attribute a bug?


Andrew Gontarek
PE debugger development at CRAY

More information about the Gdb mailing list