Darwin: fix bad loop incrementation
authorXavier Roirand <roirand@adacore.com>
Thu, 23 Aug 2018 15:17:03 +0000 (11:17 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 23 Aug 2018 15:19:18 +0000 (11:19 -0400)
commit6354b6519382f592c81932631c7d45c61d6ba5b7
treebeb9b38371e4ada9272f09a7a8c7e165cf1a727f
parentafd1472811905f030a4cb6d92a18a5f30474f738
Darwin: fix bad loop incrementation

When reading symbols from the vector of oso files on Mac OS X
Darwin, a previous commit introduce a change in the loop and add
an increment at each loop iteration whereas this incrementation is
not needed since the increment or set of the loop control variable
is already done in the loop.

gdb/ChangeLog:

* machoread.c (macho_symfile_read_all_oso): Remove uneeded
incrementation.

Change-Id: I3a5a6deb4e9d834ee7d4217a62d90c2ffb7241bc
gdb/ChangeLog
gdb/machoread.c