+2004-02-21 Daniel Jacobowitz <drow@mvista.com>
+
+ * dwarf2read.c (splay_tree_obstack_allocate): Disable.
+ (add_partial_symbol): Fix a warning.
+ (fixup_partial_die): Recurse if necessary.
+
2004-02-21 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (partial_determine_prefix)
dwarf2_symbol_mark_computed (struct attribute *attr, struct symbol *sym,
struct dwarf2_cu *cu);
+#if 0
/* Allocation function for the libiberty splay tree which uses an obstack. */
static void *
splay_tree_obstack_allocate (int size, void *data)
{
return obstack_alloc ((struct obstack *) data, size);
}
+#endif
/* Trivial deallocation function for the libiberty splay tree. */
static void
}
if (my_prefix)
- free (my_prefix);
+ free ((char *) my_prefix);
switch (pdi->tag)
{
spec_die = find_partial_die (part_die->spec_offset, cu);
+ fixup_partial_die (spec_die, cu);
+
if (spec_die->name)
{
part_die->name = spec_die->name;