Use a const line_header 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:16 +0000 (09:28 -0600)
commit5a0e026fe12a4b1a94878494facf2b5f173a3b9c
tree4991c10b761b7f312012e1d18c6270f9d9fe3665
parent8844c11b8bc1cfa70a63a8875e08345c96abecfe
Use a const line_header in macro reader

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

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

* dwarf2/read.c (dwarf_decode_macros): Make "lh" const.
* dwarf2/macro.h (dwarf_decode_macros): Constify "lh" parameter.
* dwarf2/macro.c (macro_start_file): Constify "lh" parameter.
(dwarf_decode_macro_bytes, dwarf_decode_macros): Likewise.
gdb/ChangeLog
gdb/dwarf2/macro.c
gdb/dwarf2/macro.h
gdb/dwarf2/read.c
This page took 0.025204 seconds and 4 git commands to generate.