binutils-gdb/gdb/dwarf2
Tom Tromey 8844c11b8b Make some line_header methods const
This changes a few line_header methods to be const.  In some cases, a
const overload is added.

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

	* dwarf2/line-header.h (struct line_header) <is_valid_file_index,
	file_names_size, file_full_name, file_file_name>: Use const.
	<file_name_at, file_names>: Add const overload.
	* dwarf2/line-header.c (line_header::file_file_name)
	(line_header::file_full_name): Update.
2020-03-26 09:28:15 -06:00
..
abbrev.c Minor simplification in abbrev_table::read 2020-02-08 13:43:24 -07:00
abbrev.h Use htab_up in abbrev_table 2020-02-08 13:43:24 -07:00
attribute.c Change attr_form_is_block to be a method 2020-02-08 13:40:57 -07:00
attribute.h Change attr_form_is_block to be a method 2020-02-08 13:40:57 -07:00
comp-unit.c Convert read_address to a method on comp_unit_head 2020-02-08 13:43:24 -07:00
comp-unit.h Convert read_address to a method on comp_unit_head 2020-02-08 13:43:24 -07:00
dwz.c Add dwz.c and dwz_file::read_string 2020-03-26 09:28:09 -06:00
dwz.h Add dwz.c and dwz_file::read_string 2020-03-26 09:28:09 -06:00
expr.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
expr.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame-tailcall.c Return unique_xmalloc_ptr from call_site_find_chain 2020-02-14 12:38:04 -07:00
frame-tailcall.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame.c Find tailcall frames before inline frames 2020-03-03 15:27:04 -07:00
frame.h Don't forward-declare struct objfile in dwarf2/frame.h 2020-02-11 17:57:46 -07:00
index-cache.c Introduce dwarf2/dwz.h 2020-03-26 09:28:08 -06:00
index-cache.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-common.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-common.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-write.c Introduce dwarf2/dwz.h 2020-03-26 09:28:08 -06:00
index-write.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
leb.c Move read_offset_1 to leb.c 2020-02-08 13:43:24 -07:00
leb.h Move two more functions to dwarf2/leb.h 2020-02-08 13:43:24 -07:00
line-header.c Make some line_header methods const 2020-03-26 09:28:15 -06:00
line-header.h Make some line_header methods const 2020-03-26 09:28:15 -06:00
loc.c Make dwarf2_evaluate_property parameter const 2020-03-20 13:06:22 -06:00
loc.h Make dwarf2_evaluate_property parameter const 2020-03-20 13:06:22 -06:00
macro.c Move code to new file dwarf2/macro.c 2020-03-26 09:28:15 -06:00
macro.h Move code to new file dwarf2/macro.c 2020-03-26 09:28:15 -06:00
read.c Move code to new file dwarf2/macro.c 2020-03-26 09:28:15 -06:00
read.h Introduce dwarf2/dwz.h 2020-03-26 09:28:08 -06:00
section.c Add dwarf2_section_info::read_string method 2020-03-26 09:28:14 -06:00
section.h Add dwarf2_section_info::read_string method 2020-03-26 09:28:14 -06:00