]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: pass dwarf2_cu instead of cutu_reader to two functions
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 5 Mar 2025 21:10:08 +0000 (16:10 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 6 Mar 2025 16:39:00 +0000 (11:39 -0500)
commitb8c80caf59ff114fc717457f0ba9ddcd539c52eb
tree4957113de882a97e14f262dcf4ab45b610ee4410
parent54333345d29d85d61bd7a00e9e557d857795122f
gdb/dwarf: pass dwarf2_cu instead of cutu_reader to two functions

These functions don't need to receive a cutu_reader, they only use it to
obtain the contained dwarf2_cu, so change them to accept a dwarf2_cu.
This helps reduce the creep of cutu_reader a little bit.

Change-Id: Iebb3c4697a4aec638b47423b3ac59077d4fa5090
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c