* dwarf2read.c (read_and_check_comp_unit_head): Renamed from
authorDoug Evans <dje@google.com>
Mon, 9 Jan 2012 17:40:05 +0000 (17:40 +0000)
committerDoug Evans <dje@google.com>
Mon, 9 Jan 2012 17:40:05 +0000 (17:40 +0000)
commit9ff913ba1be12d6083a65171846cf6dfd04b3ff1
tree19e877dd4e2547793babf69d48ee132c0794f74a
parent1a4eeb98116176cb9a3e33a057bc2700a9e0d736
* dwarf2read.c (read_and_check_comp_unit_head): Renamed from
partial_read_comp_unit_head.  Replace "buffer", "buffer_size" and
"abfd" args with "section".  All callers updated.
Error checking code moved ...
(error_check_comp_unit_head): ... here.  New function.
(read_and_check_type_unit_head): Renamed from read_type_unit_head.
Delete arg "abfd".  New arg "type_offset".  All callers updated.
(create_debug_types_hash_table): Simplify by using
read_and_check_type_unit_head.
gdb/ChangeLog
gdb/dwarf2read.c