gdb: remove use of iterate_over_inferiors in mi/mi-interp.c
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 17 Jan 2020 14:57:07 +0000 (09:57 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 17 Jan 2020 14:57:08 +0000 (09:57 -0500)
commit788eca4949d08494109249d35cd599971ce6ec51
tree3c4d9c4a10316577278301145062f906922c5069
parentd9bc85b65b3daab0c3579be0efc3b33c1ef24620
gdb: remove use of iterate_over_inferiors in mi/mi-interp.c

Replace it with a range-based for.  I've updated the comment in
mi_interp::init, which was a bit stale.

gdb/ChangeLog:

* mi/mi-interp.c (report_initial_inferior): Remove.
(mi_interp::init): Use range-based for to iterate over inferiors.
gdb/ChangeLog
gdb/mi/mi-interp.c