* dwarf2read.c (dwarf2_section_empty_p): New function.
authorTom Tromey <tromey@redhat.com>
Fri, 4 Feb 2011 20:33:09 +0000 (20:33 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 4 Feb 2011 20:33:09 +0000 (20:33 +0000)
commit9e0ac564072ea01f85a0f3c1f8b873abbbe634be
treedbb67323f9966d274106de0ff6d3c0f072143c2a
parentcef35b0f37719826fd65c1e2376e6328d30b4171
* dwarf2read.c (dwarf2_section_empty_p): New function.
(dwarf2_read_section): Use dwarf2_section_empty_p.
(dwarf2_section_size): New function.
(dwarf2_get_section_info): Unconditionally read section.
(dwarf2_read_index): Use dwarf2_section_empty_p.
(partial_read_comp_unit_head): Use dwarf2_section_size.
(dwarf2_symbol_mark_computed): Likewise.
gdb/ChangeLog
gdb/dwarf2read.c