2011-05-24 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 24 May 2011 12:40:17 +0000 (12:40 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 24 May 2011 12:40:17 +0000 (12:40 +0000)
commit3017a003674a2cf413b3522a5875ce26fcd574c2
treec0d0b52709275aa88b5f3ec73b98af9c903123f1
parentee5683ab05022bd68d5200b74cf00def28785076
2011-05-24  Tristan Gingold  <gingold@adacore.com>

* symfile.h (enum dwarf2_section_enum): New type.
(dwarf2_get_section_info): New prototype.
* dwarf2read.c (dwarf2_get_section_info): Replace parameter
section_name by sect.  Use a switch to select the info.
* dwarf2-frame.c (warf2_get_section_info): Remove prototype.
(dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2read.c
gdb/symfile.h