]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove unnecessary per_objfile parameter in cooked_indexer::ensure_cu_exists
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 14 Mar 2025 04:32:51 +0000 (00:32 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 14 Mar 2025 16:23:40 +0000 (12:23 -0400)
commit12e442efecc4f37d632c265cafee8594a794ad12
treeed87be1a0be363e064be4d5a3bac59a221e28463
parent4509b5a909104b2aff2230fb26bf245267afc0a6
gdb/dwarf: remove unnecessary per_objfile parameter in cooked_indexer::ensure_cu_exists

The per_objfile object can be obtained from the cutu_reader.  This is
actually how both callers get it in order to pass it as argument.

Change-Id: Iac134ded247d841f80ab5ca55dd9055b556410c3
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/cooked-indexer.c
gdb/dwarf2/cooked-indexer.h