]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: use dwarf2_per_cu::ref_addr_size in one spot
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 1 Dec 2025 19:56:53 +0000 (14:56 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 4 Dec 2025 17:50:15 +0000 (12:50 -0500)
commitb2a12dd33a51700e64a6fa854bc3d1fbfeec6ff1
tree88fdc8f85e8a1a4712b68076ccf703321a0494f6
parentc62bc410423d04c1f2cd1f2cc4e5718c2dba51d6
gdb/dwarf: use dwarf2_per_cu::ref_addr_size in one spot

I noticed this spot that could use dwarf2_per_cu::ref_addr_size, instead
of implementing the same logic.

Change-Id: I894ef1dcaa687c659e49bc1eb433e42818038cf2
Approved-By: Andrew Burgess <aburgess@redhat.com>
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c