diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-18 16:02:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-18 16:02:44 -0400 |
commit | d3d02dee8d33ef46ed91b3e87ea1b377b14ec845 (patch) | |
tree | 6e6f438fb1db08dfcd7bb41c01e31da1ea1927d9 /gdb | |
parent | 1d143c36eedc0f0b124e6aa6fb3b98b1e6ff74b0 (diff) | |
download | gdb-d3d02dee8d33ef46ed91b3e87ea1b377b14ec845.zip gdb-d3d02dee8d33ef46ed91b3e87ea1b377b14ec845.tar.gz gdb-d3d02dee8d33ef46ed91b3e87ea1b377b14ec845.tar.bz2 |
Remove mapped_index::total_size
It is unused.
gdb/ChangeLog:
* dwarf2read.c (mapped_index) <total_size>: Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57edb23..cb7a306 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2018-05-18 Simon Marchi <simon.marchi@ericsson.com> + * dwarf2read.c (mapped_index) <total_size>: Remove. + +2018-05-18 Simon Marchi <simon.marchi@ericsson.com> + * unittests/format_pieces-selftests.c (test_format_specifier): Add ARI comments. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b2ecadf..aec770b 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -197,9 +197,6 @@ struct mapped_index final : public mapped_index_base /* Index data format version. */ int version; - /* The total length of the buffer. */ - off_t total_size; - /* The address table data. */ gdb::array_view<const gdb_byte> address_table; @@ -3500,7 +3497,6 @@ to use the section anyway."), return 0; map->version = version; - map->total_size = section->size; metadata = (offset_type *) (addr + sizeof (offset_type)); |