gdb: dwarf2/read.c: remove unused objfile parameters/variables
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 19 Feb 2020 21:04:52 +0000 (16:04 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 19 Feb 2020 21:04:53 +0000 (16:04 -0500)
commit298e9637305ee85f630638ba723494fb208eabad
treebab777ff33efad69fe544a1b389dcfc614cae496
parent084104828cba3e80b19a4bad9538d32991312d7a
gdb: dwarf2/read.c: remove unused objfile parameters/variables

This is a simple cleanup.  These functions used to use the objfile's
obstack for allocation in the hash tables, but they don't anymore.
Remove the unnecessary objfile parameters, which in turn allows removing
some local variables.

gdb/ChangeLog:

* dwarf2/read.c (allocate_signatured_type_table,
allocate_dwo_unit_table, allocate_type_unit_groups_table,
allocate_dwo_file_hash_table, allocate_dwp_loaded_cutus_table):
Remove objfile parameter, update all callers.
gdb/ChangeLog
gdb/dwarf2/read.c