miscellaneous dwarf.c tidies
authorAlan Modra <amodra@gmail.com>
Wed, 20 Jul 2022 08:58:50 +0000 (18:28 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2022 04:05:51 +0000 (13:35 +0930)
commit175b91507b83ad42607d2f6dadaf55b7b511bdbe
tree48fe5761c403740b0fa7d7137a6a454295bee5d6
parent590207aa6ece509eabbc7a51aab87e5d9bcfc869
miscellaneous dwarf.c tidies

* dwarf.c: Leading and trailing whitespace fixes.
(free_abbrev_list): New function.
(free_all_abbrevs): Use the above.  Free cu_abbrev_map here too.
(process_abbrev_set): Print actual section name on error.
(get_type_abbrev_from_form): Add overflow check.
(free_debug_memory): Don't free cu_abbrev_map here..
(process_debug_info): ..or here.  Warn on another case of not
finding a neeeded abbrev.
binutils/dwarf.c