diff options
author | Tom Tromey <tom@tromey.com> | 2022-03-03 20:25:32 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-06 10:50:42 -0700 |
commit | 13835d88dc51497b9bd68dc1f394ca0de099a380 (patch) | |
tree | 8eb0097fbf3bd76149d0fffef65f0924b3f32eef /binutils | |
parent | abed5aa88ab304caa3a9e3b812f0dab06d44bdcf (diff) | |
download | gdb-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 'binutils')
0 files changed, 0 insertions, 0 deletions