diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-07 13:53:39 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-04-07 13:53:39 -0400 |
commit | 5ca3fcb669bc655e2e79866be086e8ac564e472b (patch) | |
tree | f0a32c693e498c7380f3ea6af74aed6da18a919f /gdb/ChangeLog | |
parent | b2e586e850dbf1dafc10beea3250d22e70add4b5 (diff) | |
download | binutils-gdb-5ca3fcb669bc655e2e79866be086e8ac564e472b.tar.gz |
Remove some unused variables in dwarf2read.c
Most of them are obvious. The ones in dwarf2_record_block_ranges are
less obvious, because it is a bit suspicious to have that many
variables unused. But after inspection, it seems like it dates from
commit 5f46c5a54825 ("Code cleanup: Split dwarf2_ranges_read to a
callback"), where dwarf2_record_block_ranges was made to use
dwarf2_ranges_process, which contains the same functionality.
gdb/ChangeLog:
* dwarf2read.c (create_signatured_type_table_from_debug_names):
Remove unused variables.
(dw2_map_symtabs_matching_filename): Likewise.
(dwarf2_record_block_ranges): Likewise.
(dwarf2_read_addr_index): Likewise.
(follow_die_offset): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 47d28e3747e..34da5c2fb83 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca> + * dwarf2read.c (create_signatured_type_table_from_debug_names): + Remove unused variables. + (dw2_map_symtabs_matching_filename): Likewise. + (dwarf2_record_block_ranges): Likewise. + (dwarf2_read_addr_index): Likewise. + (follow_die_offset): Likewise. + +2018-04-07 Simon Marchi <simon.marchi@polymtl.ca> + * progspace.c (clone_program_space): Pass SYMFILE_DEFER_BP_RESET to symbol_file_add_main. |