Changelog: 2010-07-06 Ken Werner * valops.c (dwarf2_read_index): Initialize the types_list and types_list_elements variables. Index: dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.425 diff -p -u -r1.425 dwarf2read.c --- dwarf2read.c 23 Jul 2010 22:15:13 -0000 1.425 +++ dwarf2read.c 26 Jul 2010 18:06:02 -0000 @@ -1835,8 +1835,10 @@ dwarf2_read_index (struct objfile *objfi char *addr; struct mapped_index *map; offset_type *metadata; - const gdb_byte *cu_list, *types_list; - offset_type version, cu_list_elements, types_list_elements; + const gdb_byte *cu_list; + const gdb_byte *types_list = NULL; + offset_type version, cu_list_elements; + offset_type types_list_elements = 0; int i; if (dwarf2_per_objfile->gdb_index.asection == NULL