This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Question about DW_AT_variable_parameter in dwarf2read.c


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

-- 
Andrew Gontarek
PE debugger development at CRAY


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