This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
The DWARF 2 reader doesn't support DW_TAG_constant entries. Aonix ObjectAda generates these entries and adding the support is to simply handle them exactly like DW_TAG_variable (which already handles a DW_AT_const_value attribute). -Brian Nettleton Fri Apr 30 10:24:05 1999 Brian Nettleton <bn@aonix.com> * dwarf2read.c (new_symbol): Added DW_TAG_constant support Index: gdb/dwarf2read.c *** ../gdb-4.17.orig/gdb/dwarf2read.c Wed Jan 28 15:02:03 1998 --- gdb/dwarf2read.c Fri Apr 30 10:23:06 1999 *************** new_symbol (die, type, objfile) *** 4125,4130 **** --- 4125,4131 ---- } break; case DW_TAG_variable: + case DW_TAG_constant: /* Compilation with minimal debug info may result in variables with missing type entries. Change the misleading `void' type to something sensible. */