OSDN Git Service

2002-03-20 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <dan@debian.org>
Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)
commit6a8de24d251773bfba178102e9186bbba8a49749
tree3fe4422bf6b0191a2c8c74f8e180425ee223679b
parent4462f6a9a4882597a363627c0d5c7a37527891c8
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2.c (struct funcinfo): Move up.
        (lookup_address_in_function_table): New argument function_ptr.
        Set it.
        (lookup_address_in_line_table): New argument function.  If function
        is non-NULL, use it to handle ``addr'' before the first line note of
        the function.
        (comp_unit_find_nearest_line): Update and swap calls to
        lookup_address_in_function_table and lookup_address_in_line_table.
        * syms.c (_bfd_stab_section_find_nearest_line): Use the first
        N_SLINE encountered if we see an N_FUN before any N_SLINE.
bfd/ChangeLog
bfd/dwarf2.c
bfd/syms.c