aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-03-03 20:25:32 -0700
committerTom Tromey <tom@tromey.com>2022-03-06 10:50:42 -0700
commit13835d88dc51497b9bd68dc1f394ca0de099a380 (patch)
tree8eb0097fbf3bd76149d0fffef65f0924b3f32eef /bfd
parentabed5aa88ab304caa3a9e3b812f0dab06d44bdcf (diff)
downloadgdb-13835d88dc51497b9bd68dc1f394ca0de099a380.zip
gdb-13835d88dc51497b9bd68dc1f394ca0de099a380.tar.gz
gdb-13835d88dc51497b9bd68dc1f394ca0de099a380.tar.bz2
Use function view when iterating over block symbols
This changes iterate_over_block_local_vars and iterate_over_block_arg_vars to take a gdb::function_view rather than a function pointer and a user-data. In one spot, this allows us to remove a helper structure and helper function. In another spot, this looked more complicated, so I changed the helper function to be an "operator()" -- also a simplification, just not as big.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions