Use a const dwarf2_section_info in macro reader
authorTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:08 +0000 (09:28 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:17 +0000 (09:28 -0600)
commit4f9c1eda9ffc161015b6d9cc6dc958b67de680e6
tree30faf8e48a422af538da42b5dcbfe1ad60244d4d
parent5a0e026fe12a4b1a94878494facf2b5f173a3b9c
Use a const dwarf2_section_info in macro reader

This changes the DWARF macro reader to use a const dwarf2_section_info.

gdb/ChangeLog
2020-03-26  Tom Tromey  <tom@tromey.com>

* dwarf2/macro.h (dwarf_decode_macros): Make section parameter
const.
* dwarf2/macro.c (skip_form_bytes, skip_unknown_opcode)
(dwarf_decode_macro_bytes, dwarf_decode_macros): Make section
parameter const.
gdb/ChangeLog
gdb/dwarf2/macro.c
gdb/dwarf2/macro.h