Change dwarf_decode_macro_bytes calling convention
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:10 +0000 (09:28 -0600)
commitbf80d710525ba743d0046bf1f9cab6a019d7c616
tree073246585a1b076002bb031d95148c9d1724035b
parent0314b3901c9cdc21ef9f0c1b0b88528d6f8d3073
Change dwarf_decode_macro_bytes calling convention

This changes dwarf_decode_macro_bytes to accept a buildsym_compunit
rather than a dwarf2_cu.  This enables some subsequent changes; and
also makes the function accept a "more specific" parameter.

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

* dwarf2/read.c (macro_start_file): Change "cu" parameter to
"builder".
(dwarf_decode_macro_bytes): Likewise.  Add dwarf2_per_objfile
parameter.
(dwarf_decode_macros): Update.
gdb/ChangeLog
gdb/dwarf2/read.c