diff options
author | Tom de Vries <tdevries@suse.de> | 2021-08-04 14:29:47 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-08-04 14:29:47 +0200 |
commit | 5b3ef0a5952eaf912da343505eff9d0a29334751 (patch) | |
tree | d9cd55e1760949110d1c8651126ffeed3e147e54 /binutils/resbin.c | |
parent | f897689c880ed1049b708e6c1f9745c8604808e3 (diff) | |
download | gdb-5b3ef0a5952eaf912da343505eff9d0a29334751.zip gdb-5b3ef0a5952eaf912da343505eff9d0a29334751.tar.gz gdb-5b3ef0a5952eaf912da343505eff9d0a29334751.tar.bz2 |
[gdb/symtab] Use lambda function instead of addrmap_foreach_check
Use a lambda function instead of addrmap_foreach_check,
which removes the need for static variables.
Also remove unnecessary static on local var temp_obstack in test_addrmap.
gdb/ChangeLog:
2021-08-04 Tom de Vries <tdevries@suse.de>
* addrmap.c (addrmap_foreach_check): Remove.
(array, val1, val2): Move ...
(test_addrmap): ... here. Remove static on temp_obstack. Use lambda
function instead of addrmap_foreach_check.
Diffstat (limited to 'binutils/resbin.c')
0 files changed, 0 insertions, 0 deletions