I noticed that this parameter was unused, remove it.
gdb/ChangeLog:
* dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr
parameter, adjust caller.
Change-Id: I2a741766a0c658c22c512590aeffdd07391c869c
+2021-03-15 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr
+ parameter, adjust caller.
+
2021-03-15 Tom Tromey <tromey@adacore.com>
* ada-exp.y (simple_exp): Always push a result for unary '+'.
static void
dw2_get_file_names_reader (const struct die_reader_specs *reader,
- const gdb_byte *info_ptr,
struct die_info *comp_unit_die)
{
struct dwarf2_cu *cu = reader->cu;
cutu_reader reader (this_cu, per_objfile);
if (!reader.dummy_p)
- dw2_get_file_names_reader (&reader, reader.info_ptr, reader.comp_unit_die);
+ dw2_get_file_names_reader (&reader, reader.comp_unit_die);
if (this_cu->v.quick->no_file_data)
return NULL;