From: Simon Marchi Date: Fri, 18 May 2018 20:02:44 +0000 (-0400) Subject: Remove mapped_index::total_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3d02dee8d33ef46ed91b3e87ea1b377b14ec845;p=binutils-gdb.git Remove mapped_index::total_size It is unused. gdb/ChangeLog: * dwarf2read.c (mapped_index) : Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57edb233409..cb7a3061e07 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-05-18 Simon Marchi + + * dwarf2read.c (mapped_index) : Remove. + 2018-05-18 Simon Marchi * unittests/format_pieces-selftests.c (test_format_specifier): diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b2ecadf89bc..aec770b357a 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 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));