1 *** ../binutils-2.24.orig/bfd/dwarf2.c 2014-01-28 11:58:02.072737296 +0000
2 --- bfd/dwarf2.c 2014-01-28 11:59:38.575739971 +0000
3 *************** find_abstract_instance_name (struct comp
8 info_ptr = unit->sec_info_ptr + die_ref;
10 + /* Now find the CU containing this pointer. */
11 + if (info_ptr >= unit->info_ptr_unit && info_ptr < unit->end_ptr)
15 + /* Check other CUs to see if they contain the abbrev. */
16 + struct comp_unit * u;
18 + for (u = unit->prev_unit; u != NULL; u = u->prev_unit)
19 + if (info_ptr >= u->info_ptr_unit && info_ptr < u->end_ptr)
23 + for (u = unit->next_unit; u != NULL; u = u->next_unit)
24 + if (info_ptr >= u->info_ptr_unit && info_ptr < u->end_ptr)
29 + /* else FIXME: What do we do now ? */
32 else if (attr_ptr->form == DW_FORM_GNU_ref_alt)
34 *************** find_abstract_instance_name (struct comp
37 bfd_set_error (bfd_error_bad_value);
40 + /* FIXME: Do we need to locate the correct CU, in a similar
41 + fashion to the code in the DW_FORM_ref_addr case above ? */
44 info_ptr = unit->info_ptr_unit + die_ref;