Code cleanup: Refactor abbrev_table_read_table cycle
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 20 Feb 2017 19:53:20 +0000 (20:53 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 20 Feb 2017 19:59:40 +0000 (20:59 +0100)
commit22d2f3ab926890490deed2888f6f013031fa6a6e
tree457b64fe2b3f73c109e926f9c3e6aff90cc931b9
parent5f46c5a54825aabb3f30095c84ac30aff7400ac5
Code cleanup: Refactor abbrev_table_read_table cycle

I find it as an improvement on its own, it prevents more code duplication in
a future patch.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2read.c (abbrev_table_read_table): Read the data only once.
gdb/ChangeLog
gdb/dwarf2read.c