]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: pass is_dwz to dwarf2_per_cu constructor
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 3 Mar 2025 21:35:37 +0000 (16:35 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 4 Mar 2025 15:41:54 +0000 (10:41 -0500)
commit6625c32600b8175f2d7222db761670a4d3315863
treea155224c54b3fccbdc42f94ec86fc73610c5b061
parent66195fe109289637e6f1668464c660e782c519f9
gdb/dwarf: pass is_dwz to dwarf2_per_cu constructor

It is always known at construction time whether a dwarf2_per_cu is
built to represent a unit from a dwz file or not, so pass that
information through the constructor.

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