* dwarf2read.c (struct dwz_file) <gdb_index>: New field.
authorTom Tromey <tromey@redhat.com>
Wed, 18 Jul 2012 20:01:27 +0000 (20:01 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 18 Jul 2012 20:01:27 +0000 (20:01 +0000)
commit2ec9a5e0e2bbfb25896dbc4fe3c6230ef62c9b6f
treef9f3b030345ffe1f73c0a423725981334d03ca09
parent365867289923565656f39d44301481caa33a88ea
* dwarf2read.c (struct dwz_file) <gdb_index>: New field.
(locate_dwz_sections): Recognize .gdb_index.
(create_cus_from_index_list): New function.
(create_cus_from_index): Use it.  Handle .dwz data.
(read_index_from_section): New function, extracted from
dwarf2_read_index.
(dwarf2_read_index): Use it.  Read .gdb_index from dwz file,
if needed.
gdb/ChangeLog
gdb/dwarf2read.c