2002-03-20 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)
commit1ee24f278e993baa8b732aa8b600dc0369210e3d
treecdbb3987b14ce057dc4c5ae824faea0a6a1c58e5
parent51b9608c3acc602ef72802af90521aa42e2ea44b
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