OSDN Git Service

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)
commit786f9f865a3b55e6134f55d1dc6555cd8d7b5714
treeb6a828733586955530cf8b1084bc69b084cbe0ba
parent6384d557178f2ca449b42aad3c2e07330c385bff
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