* dwarf2read.c (load_partial_comp_unit): Initialize free_cu_cleanup.
(read_comp_unit): Initialize back_to.
+2010-08-13 Hui Zhu <teawater@gmail.com>
+
+ * dwarf2read.c (load_partial_comp_unit): Initialize free_cu_cleanup.
+ (read_comp_unit): Initialize back_to.
+
2010-08-12 Daniel Jacobowitz <dan@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>
gdb_byte *info_ptr, *beg_of_comp_unit;
struct die_info *comp_unit_die;
struct dwarf2_cu *cu;
- struct cleanup *free_abbrevs_cleanup, *free_cu_cleanup;
+ struct cleanup *free_abbrevs_cleanup, *free_cu_cleanup = NULL;
struct attribute *attr;
int has_children;
struct die_reader_specs reader_specs;
{
struct die_reader_specs reader_specs;
int read_abbrevs = 0;
- struct cleanup *back_to;
+ struct cleanup *back_to = NULL;
struct die_info *die;
if (cu->dwarf2_abbrevs == NULL)