Fixes a problem displaying the contents of a binary containing corrupt debug
authorNick Clifton <nickc@redhat.com>
Thu, 26 Jun 2014 08:12:55 +0000 (09:12 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 26 Jun 2014 08:12:55 +0000 (09:12 +0100)
commit60d77146a249ae9b51d7ce98930cdbedb2cfa352
tree02e416e82daead570e6fd843e191f00e6f28688f
parent4395285e33e6d67c8a82db744ebfd041034b005a
Fixes a problem displaying the contents of a binary containing corrupt debug
information, specifically a DW_AT_MIPS_linkage_name attribute that has a numeric
value rather than a string value.

PR binutils/16949
* dwarf2.c (is_str_attr): New function.
(find_abstract_instance_name): Use it to determine when an
attribute has a string value.
bfd/ChangeLog
bfd/dwarf2.c