[PATCH 0/5] Random dwarf2read.c improvements

Simon Marchi simon.marchi@polymtl.ca
Sun Apr 1 00:04:00 GMT 2018


I had these changes in a branch, I though I would post them on their
own, instead of part of a more complex series.

Simon Marchi (5):
  Remove some unused variables in dwarf2read.c
  Replace dw2_get_cu/dw2_get_cutu with methods of dwarf2_per_objfile
  Remove some usages of get_dwarf2_per_objfile
  Make dwarf2_per_objfile::all_comp_units an std::vector
  Make dwarf2_per_objfile::all_type_units an std::vector

 gdb/dwarf-index-write.c |  29 ++-
 gdb/dwarf2read.c        | 459 +++++++++++++++++-------------------------------
 gdb/dwarf2read.h        |  42 +++--
 3 files changed, 203 insertions(+), 327 deletions(-)

-- 
2.16.3



More information about the Gdb-patches mailing list