+2010-06-28 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_structure_type): Allocate null cleanup later.
+
2010-06-28 Doug Evans <dje@google.com>
* breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
struct type *type;
struct attribute *attr;
char *name;
- struct cleanup *back_to = make_cleanup (null_cleanup, 0);
+ struct cleanup *back_to;
/* If the definition of this type lives in .debug_types, read that type.
Don't follow DW_AT_specification though, that will take us back up
return set_die_type (die, type, cu);
}
+ back_to = make_cleanup (null_cleanup, 0);
+
type = alloc_type (objfile);
INIT_CPLUS_SPECIFIC (type);