]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
readelf.c (last_pointer_size, warned_about_missing_comp_units):
authorNick Clifton <nickc@redhat.com>
Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)
commit76a56260628e949cd60b00f8035a53cbadca61ad
treeddf7940b89fa9f07f0e100925f8a8f01d594693d
parent911a63006ce7686ef257250e1e0c4f960791d79b
readelf.c (last_pointer_size, warned_about_missing_comp_units):
  New variables associated with obtaining the pointer size for a comp_unit.
  (get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
  section requesting the pointer size.  Use this name in error messages.  If
  there are not enough comp_units available produce a warning message, but
  return the last known pointer size so that section dumping can continue.
  (get_debug_info): Reset the new variables.
  (display_debug_lines): Add extra parameter to invocation of
  get_pointer_size_of_comp_unit and remove error message when it returns 0.
  (display_debug_loc): Likewise.
binutils/ChangeLog
binutils/readelf.c