This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Question about DW_AT_variable_parameter in dwarf2read.c
- From: Andrew Gontarek <andrewg at cray dot com>
- To: gdb at sourceware dot org
- Date: Wed, 31 Aug 2011 16:12:52 -0500
- Subject: 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