OSDN Git Service

2002-03-20 Daniel Jacobowitz <drow@mvista.com>
authordrow <drow>
Wed, 20 Mar 2002 19:15:26 +0000 (19:15 +0000)
committerdrow <drow>
Wed, 20 Mar 2002 19:15:26 +0000 (19:15 +0000)
commitf547292822378d5402a884d19414baea0ed798e7
tree9324116eac975ffe7ecc7dc3ad64a8cc1775bcff
parent756bcce864bfb03c5e54593f5bd0400a6a9fd8bc
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