Use range-based for loop in remote_add_target_side_condition
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 27 Feb 2017 18:54:53 +0000 (13:54 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 27 Feb 2017 18:54:53 +0000 (13:54 -0500)
commit8362122330c97c8c4a15da4e7ba8aa29f0c11157
tree26a86c14a7b994526c1dbadaba07bb6674c06c4d
parent2123df0ebfc7ade46784ef412226490d59f8ce05
Use range-based for loop in remote_add_target_side_condition

Using a range based for loop makes this code a bit more clean and
readable.

The comment above is clearly erroneous, so I've updated it.

gdb/ChangeLog:

* remote.c (remote_add_target_side_condition): Use range-based
for loop.  Update comment.
gdb/ChangeLog
gdb/remote.c