Fix the gdb build with GCC 7
authorTom Tromey <tromey@adacore.com>
Fri, 13 Dec 2019 15:48:44 +0000 (08:48 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 13 Dec 2019 18:29:02 +0000 (11:29 -0700)
commita5513db2f5513e84d52f77b8d9de484738ae5abe
tree1b7bfd2eb0b5b77f9f41daccfe112b3dc6ec9324
parent3a90f26667396bed62345027503d943d8213f02b
Fix the gdb build with GCC 7

The Solaris buildbot builder complained about some recent patches of
mine.  Building with GCC 7 failed.

This patch fixes the bug.  I'm checking it in.

gdb/ChangeLog
2019-12-13  Tom Tromey  <tromey@adacore.com>

* gdbsupport/safe-iterator.h (class basic_safe_range) <begin,
end>: No longer "const".

Change-Id: I5f428fab61087f467ac3b6475f4ef4dbd314fcb0
gdb/ChangeLog
gdb/gdbsupport/safe-iterator.h