aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-objfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-08-01 11:11:41 -0600
committerTom Tromey <tromey@adacore.com>2025-08-12 08:30:37 -0600
commit89495c33260b3f637acb8f79181cc6db08771f90 (patch)
tree525da36fc4d6846f8b8b34ae12c449b414d38dbc /gdb/python/python-objfile.c
parent55c91b7e5c7f7829ff69738f159e0380383a7356 (diff)
downloadbinutils-89495c33260b3f637acb8f79181cc6db08771f90.zip
binutils-89495c33260b3f637acb8f79181cc6db08771f90.tar.gz
binutils-89495c33260b3f637acb8f79181cc6db08771f90.tar.bz2
Change type::fields to return an array_view
This patch changes type::fields to return an array_view of the fields, then fixes up the fallout. More cleanups would be possible here (in particular in the field initialization code) but I haven't done so. The main motivation for this patch was to make it simpler to iterate over the fields of a type. Regression tested on x86-64 Fedora 41. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python/python-objfile.c')
0 files changed, 0 insertions, 0 deletions