Store 'name' in block_iterator
authorTom Tromey <tom@tromey.com>
Fri, 20 Jan 2023 01:36:17 +0000 (18:36 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:06 +0000 (12:51 -0700)
commit0688bf443c618be0a4a22cbc7ffb802dd771801c
tree443feb429581ebd8819a0a32dcbde0bd1f0fd443
parent7bf30a4447713192eb49be43d7f66630d570652b
Store 'name' in block_iterator

This changes the block_iterator to store the 'name' that is used by
block_iter_match_next.  This avoids any problem where the name could
be passed inconsistently, and also makes the subsequent patches easier
to understand.
gdb/ada-lang.c
gdb/block.c
gdb/block.h