David Mosberger <davidm@hpl.hp.com>
authorRichard Henderson <rth@redhat.com>
Sat, 26 Jun 1999 16:05:58 +0000 (16:05 +0000)
committerRichard Henderson <rth@redhat.com>
Sat, 26 Jun 1999 16:05:58 +0000 (16:05 +0000)
commitf623be2b6830e39583aeff8d0e39fac8c8c19dc2
treef776a9a9afe6ad89c3f40c866af44d4714dce71a
parent69dd2e2d55f35811d5bf411ad62c5073caed42d6
David Mosberger  <davidm@hpl.hp.com>
        * dwarf2.c (struct arange): New type.
        (struct comp_unit): Replace LOW and HIGH by member ARANGE.
        (arange_add): New function.
        (decode_line_info): Keep track of address ranges that a compilation
        unit covers.
        (comp_unit_contains_address): Return true if address is contained
        in _any_ of the address ranges associated with a compilation unit.
        (_bfd_dwarf2_find_nearest_line): Call comp_unit_find_nearest_line
        on the first comp_unit that contains the address.
bfd/ChangeLog
bfd/dwarf2.c