diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:17 -0600 |
commit | 4f9c1eda9ffc161015b6d9cc6dc958b67de680e6 (patch) | |
tree | 30faf8e48a422af538da42b5dcbfe1ad60244d4d /gdb/dwarf2/macro.h | |
parent | 5a0e026fe12a4b1a94878494facf2b5f173a3b9c (diff) | |
download | gdb-4f9c1eda9ffc161015b6d9cc6dc958b67de680e6.zip gdb-4f9c1eda9ffc161015b6d9cc6dc958b67de680e6.tar.gz gdb-4f9c1eda9ffc161015b6d9cc6dc958b67de680e6.tar.bz2 |
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.
Diffstat (limited to 'gdb/dwarf2/macro.h')
-rw-r--r-- | gdb/dwarf2/macro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/macro.h b/gdb/dwarf2/macro.h index b92987c..cb66a6f 100644 --- a/gdb/dwarf2/macro.h +++ b/gdb/dwarf2/macro.h @@ -24,7 +24,7 @@ struct buildsym_compunit; extern void dwarf_decode_macros (struct dwarf2_per_objfile *dwarf2_per_objfile, buildsym_compunit *builder, - dwarf2_section_info *section, + const dwarf2_section_info *section, const struct line_header *lh, unsigned int offset_size, unsigned int offset, |