Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
authorJim Wilson <wilson@tuliptree.org>
Thu, 22 Sep 2005 19:50:27 +0000 (19:50 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 22 Sep 2005 19:50:27 +0000 (19:50 +0000)
commitc955f9cdcb2a9dba8a598dda71a9f8d37a17c641
treefe05ca98deb77f2f7c2cd79c97850d01848d9d1b
parent82b19eb91fb133174b1a6d35e65b7178c6106a94
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field.  Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field.  Add code to set
funcinfo caller_func field.
bfd/ChangeLog
bfd/dwarf2.c